Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IDEAS_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.0009305/0.0009306, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001142/0.001142, allocations: 172.7 kB / 15.95 MB, free: 208 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.378/1.378, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 132.3 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 8.906 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4555, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06033/0.5159, allocations: 56.02 MB / 0.6379 GB, free: 8.395 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02103/0.537, allocations: 13.71 MB / 0.6512 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.5406, allocations: 51.69 kB / 0.6513 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.5436, allocations: 0.4929 MB / 0.6518 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007214/0.5509, allocations: 1.78 MB / 0.6535 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.5549, allocations: 1.2 MB / 0.6547 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006368/0.5613, allocations: 4.524 MB / 0.6591 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.5632, allocations: 0.9057 MB / 0.66 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.5665, allocations: 1.268 MB / 0.6612 GB, free: 404 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.5684, allocations: 0.9878 MB / 0.6622 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.5685, allocations: 48 kB / 0.6622 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.5718, allocations: 1.212 MB / 0.6634 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.5721, allocations: 246.9 kB / 0.6637 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.5727, allocations: 313 kB / 0.664 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.5756, allocations: 1.909 MB / 0.6658 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5757, allocations: 0 / 0.6658 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5757, allocations: 0 / 0.6658 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.5757, allocations: 0 / 0.6658 GB, free: 11.67 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.002727/0.5784, allocations: 1.584 MB / 0.6674 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5785, allocations: 12.03 kB / 0.6674 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.5787, allocations: 139.3 kB / 0.6675 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.579, allocations: 170.1 kB / 0.6677 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.5812, allocations: 1.246 MB / 0.6689 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.5813, allocations: 62 kB / 0.669 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.5814, allocations: 92 kB / 0.669 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.583, allocations: 0.9513 MB / 0.67 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.583, allocations: 4 kB / 0.67 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/0.5831, allocations: 36 kB / 0.67 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.5831, allocations: 24 kB / 0.67 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.5843, allocations: 0.6635 MB / 0.6707 GB, free: 6.531 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.005475/0.5897, allocations: 5.217 MB / 0.6758 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.5905, allocations: 394 kB / 0.6761 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.5908, allocations: 247.6 kB / 0.6764 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.5923, allocations: 1.611 MB / 0.678 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5924, allocations: 42.95 kB / 0.678 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 4.668e-06/0.5924, allocations: 0 / 0.678 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002128/0.5945, allocations: 0.933 MB / 0.6789 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.5946, allocations: 59.78 kB / 0.679 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.596, allocations: 0.9772 MB / 0.6799 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.5961, allocations: 37.7 kB / 0.68 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.5965, allocations: 0.5735 MB / 0.6805 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.5967, allocations: 193.2 kB / 0.6807 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.5967, allocations: 8 kB / 0.6807 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5969, allocations: 341.9 kB / 0.681 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.5972, allocations: 193.5 kB / 0.6812 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.5977, allocations: 400.9 kB / 0.6816 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.5981, allocations: 262 kB / 0.6819 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5981, allocations: 4 kB / 0.6819 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001593/0.5997, allocations: 0.8224 MB / 0.6827 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.5999, allocations: 269.5 kB / 0.6829 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.6, allocations: 8 kB / 0.6829 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.6005, allocations: 116.8 kB / 0.683 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.601, allocations: 139.8 kB / 0.6832 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004556/0.6014, allocations: 0.5913 MB / 0.6837 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.6022, allocations: 115.3 kB / 0.6839 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.6023, allocations: 43.92 kB / 0.6839 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.6023, allocations: 4 kB / 0.6839 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/0.6036, allocations: 0.6972 MB / 0.6846 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6036, allocations: 8 kB / 0.6846 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/0.6041, allocations: 109 kB / 0.6847 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.6045, allocations: 143.8 kB / 0.6848 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.6049, allocations: 0.5991 MB / 0.6854 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/0.6056, allocations: 99.45 kB / 0.6855 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.6057, allocations: 35.98 kB / 0.6855 GB, free: 6.223 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.0005266/0.6063, allocations: 384.8 kB / 0.6859 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.6064, allocations: 114.6 kB / 0.686 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.6083, allocations: 1.061 MB / 0.6871 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.6083, allocations: 11.98 kB / 0.6871 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6083, allocations: 0 / 0.6871 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/0.6096, allocations: 0.803 MB / 0.6879 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.6128, allocations: 2.087 MB / 0.6899 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.6129, allocations: 4 kB / 0.6899 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.6133, allocations: 107.8 kB / 0.69 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/0.6136, allocations: 68.91 kB / 0.6901 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.6136, allocations: 20 kB / 0.6901 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003833/0.614, allocations: 0.5797 MB / 0.6906 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.614, allocations: 8.016 kB / 0.6907 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.616, allocations: 1.318 MB / 0.6919 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.6164, allocations: 323.2 kB / 0.6922 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.6166, allocations: 16 kB / 0.6923 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.6172, allocations: 75.77 kB / 0.6923 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.6173, allocations: 48.48 kB / 0.6924 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.6174, allocations: 39.97 kB / 0.6924 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009612/0.6184, allocations: 0.6608 MB / 0.6931 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6184, allocations: 0 / 0.6931 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002099/0.6205, allocations: 0.7405 MB / 0.6938 GB, free: 13.6 MB / 0.5294 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.003163/0.6236, allocations: 2.266 MB / 0.696 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.6255, allocations: 1.044 MB / 0.697 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6255, allocations: 0.625 kB / 0.697 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.6261, allocations: 426.5 kB / 0.6974 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.6287, allocations: 0.5678 MB / 0.698 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.6409, allocations: 6.802 MB / 0.7046 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.6417, allocations: 1.129 MB / 0.7057 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0012/0.6429, allocations: 304.6 kB / 0.706 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/0.6435, allocations: 499.2 kB / 0.7065 GB, free: 188 kB / 0.5294 GB Notification: Performance of SimCode: time 1.343e-06/0.6436, allocations: 0 / 0.7065 GB, free: 188 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06371/0.7073, allocations: 37.33 MB / 0.743 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.7075, allocations: 266.6 kB / 0.7432 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.422, allocations: 0 / 0.7432 GB, free: 11.09 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: