Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 86.09 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9456/0.9456, allocations: 135.3 MB / 426.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 0.5071 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 82.31 MB / 0.5875 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.3906/0.5685, allocations: 56.01 MB / 0.6422 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.5857, allocations: 13.7 MB / 0.6556 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.5885, allocations: 57.06 kB / 0.6556 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.5903, allocations: 0.4935 MB / 0.6561 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.596, allocations: 1.781 MB / 0.6578 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.6002, allocations: 1.199 MB / 0.659 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005499/0.6057, allocations: 4.521 MB / 0.6634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.6075, allocations: 0.9109 MB / 0.6643 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.6111, allocations: 1.267 MB / 0.6655 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.6138, allocations: 0.9894 MB / 0.6665 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.6141, allocations: 51.38 kB / 0.6666 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.6184, allocations: 1.212 MB / 0.6677 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.6189, allocations: 242.5 kB / 0.668 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009546/0.6198, allocations: 316.4 kB / 0.6683 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.6238, allocations: 1.905 MB / 0.6701 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.6238, allocations: 4 kB / 0.6701 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.905e-06/0.6238, allocations: 0.7969 kB / 0.6701 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.212e-05/0.6238, allocations: 0 / 0.6701 GB, free: 4.547 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003521/0.6274, allocations: 1.581 MB / 0.6717 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.6274, allocations: 9.625 kB / 0.6717 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.6276, allocations: 137.1 kB / 0.6718 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.6281, allocations: 163.3 kB / 0.672 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.6303, allocations: 1.254 MB / 0.6732 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.6304, allocations: 64.97 kB / 0.6733 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.6305, allocations: 85.81 kB / 0.6733 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.6322, allocations: 0.9518 MB / 0.6743 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.6323, allocations: 2.547 kB / 0.6743 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.6324, allocations: 37.44 kB / 0.6743 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.6324, allocations: 26.48 kB / 0.6743 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.6335, allocations: 0.663 MB / 0.675 GB, free: 1.754 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006446/0.64, allocations: 5.212 MB / 0.6801 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.6408, allocations: 395.8 kB / 0.6805 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.6412, allocations: 241.6 kB / 0.6807 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.643, allocations: 1.602 MB / 0.6822 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.6431, allocations: 46.92 kB / 0.6823 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.176e-06/0.6431, allocations: 0 / 0.6823 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002571/0.6457, allocations: 0.9448 MB / 0.6832 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.6457, allocations: 60.58 kB / 0.6833 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.6472, allocations: 0.9768 MB / 0.6842 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.6473, allocations: 36.42 kB / 0.6843 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005242/0.6478, allocations: 0.573 MB / 0.6848 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.6481, allocations: 197.4 kB / 0.685 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.6481, allocations: 10.72 kB / 0.685 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6482, allocations: 331.7 kB / 0.6853 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.6486, allocations: 193.8 kB / 0.6855 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.6492, allocations: 404.8 kB / 0.6859 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.6497, allocations: 261.3 kB / 0.6862 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.6498, allocations: 2.109 kB / 0.6862 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001834/0.6516, allocations: 0.8225 MB / 0.687 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.6518, allocations: 262.2 kB / 0.6872 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.6518, allocations: 7.953 kB / 0.6872 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/0.6524, allocations: 120.9 kB / 0.6873 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.6529, allocations: 142.3 kB / 0.6875 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004976/0.6534, allocations: 0.5981 MB / 0.6881 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.6544, allocations: 104.2 kB / 0.6882 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.6545, allocations: 43.2 kB / 0.6882 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.6546, allocations: 7.75 kB / 0.6882 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001493/0.656, allocations: 0.6883 MB / 0.6889 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.6561, allocations: 12.73 kB / 0.6889 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/0.6565, allocations: 115.6 kB / 0.689 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.657, allocations: 138.3 kB / 0.6891 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004387/0.6574, allocations: 0.5993 MB / 0.6897 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.6585, allocations: 105.4 kB / 0.6898 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.6586, allocations: 35.25 kB / 0.6898 GB, free: 6.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009455/0.6595, allocations: 381.2 kB / 0.6902 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.6598, allocations: 113.9 kB / 0.6903 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.6621, allocations: 1.059 MB / 0.6914 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/0.6622, allocations: 9.672 kB / 0.6914 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.6622, allocations: 5.484 kB / 0.6914 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.6636, allocations: 0.8093 MB / 0.6922 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/0.6677, allocations: 2.08 MB / 0.6942 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.6678, allocations: 6.141 kB / 0.6942 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.6682, allocations: 104.7 kB / 0.6943 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003127/0.6685, allocations: 67.02 kB / 0.6944 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.6686, allocations: 24.69 kB / 0.6944 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004247/0.669, allocations: 0.581 MB / 0.6949 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.669, allocations: 1.5 kB / 0.695 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.6713, allocations: 1.327 MB / 0.6962 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.6721, allocations: 314.6 kB / 0.6965 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.6722, allocations: 21.23 kB / 0.6966 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.6729, allocations: 82.08 kB / 0.6966 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.673, allocations: 47.52 kB / 0.6967 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.6731, allocations: 39.61 kB / 0.6967 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00117/0.6743, allocations: 0.6595 MB / 0.6974 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6743, allocations: 4 kB / 0.6974 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002752/0.6771, allocations: 0.7349 MB / 0.6981 GB, free: 2.676 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004191/0.6813, allocations: 2.271 MB / 0.7003 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.6834, allocations: 1.04 MB / 0.7013 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6834, allocations: 1.031 kB / 0.7013 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.6843, allocations: 425.8 kB / 0.7017 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.6871, allocations: 0.5711 MB / 0.7023 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.7037, allocations: 6.789 MB / 0.7089 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000861/0.7046, allocations: 1.135 MB / 0.71 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001681/0.7063, allocations: 319.4 kB / 0.7103 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007318/0.7071, allocations: 493.4 kB / 0.7108 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of SimCode: time 1.683e-06/0.7071, allocations: 0 / 0.7108 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.7792, allocations: 37.34 MB / 0.7473 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003542/0.7796, allocations: 271 kB / 0.7475 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.771, allocations: 0 / 0.7475 GB, free: 7.598 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: