Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001335/0.001336, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001569/0.001569, allocations: 191.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7111/0.7111, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 60.06 kB / 0.5014 GB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.436, allocations: 80.2 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002953/0.439, allocations: 1.697 MB / 0.5813 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.4408, allocations: 1.455 MB / 0.5828 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.4409, allocations: 4.688 kB / 0.5828 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.4413, allocations: 43.17 kB / 0.5828 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.4415, allocations: 51.69 kB / 0.5829 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.4417, allocations: 93.31 kB / 0.583 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.4419, allocations: 168.2 kB / 0.5831 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.442, allocations: 7 kB / 0.5831 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.4421, allocations: 65.73 kB / 0.5832 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.4422, allocations: 67.2 kB / 0.5832 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.4423, allocations: 14.59 kB / 0.5833 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.4424, allocations: 68.08 kB / 0.5833 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.4425, allocations: 47.61 kB / 0.5834 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.4425, allocations: 58.36 kB / 0.5834 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.4428, allocations: 196.5 kB / 0.5836 GB, free: 1.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4428, allocations: 0.7031 kB / 0.5836 GB, free: 1.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4428, allocations: 0 / 0.5836 GB, free: 1.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4428, allocations: 0.7188 kB / 0.5836 GB, free: 1.965 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005197/0.4434, allocations: 469 kB / 0.5841 GB, free: 1.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4434, allocations: 13.56 kB / 0.5841 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.4434, allocations: 41.7 kB / 0.5841 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.4435, allocations: 16.81 kB / 0.5841 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.4438, allocations: 258.6 kB / 0.5844 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4438, allocations: 10.86 kB / 0.5844 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.4438, allocations: 3.594 kB / 0.5844 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.4441, allocations: 111.3 kB / 0.5845 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4441, allocations: 1.125 kB / 0.5845 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4441, allocations: 8.656 kB / 0.5845 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4441, allocations: 5.25 kB / 0.5845 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.4444, allocations: 140.8 kB / 0.5846 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.4446, allocations: 231.1 kB / 0.5849 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.445, allocations: 174.9 kB / 0.585 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.4451, allocations: 56.56 kB / 0.5851 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.4451, allocations: 10.05 kB / 0.5851 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.4453, allocations: 113.9 kB / 0.5852 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.4453, allocations: 0 / 0.5852 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004726/0.4458, allocations: 228.2 kB / 0.5854 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4459, allocations: 79.61 kB / 0.5855 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.4461, allocations: 203.8 kB / 0.5857 GB, free: 412 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4461, allocations: 32.69 kB / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.4461, allocations: 113.8 kB / 0.5858 GB, free: 268 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.4462, allocations: 45.25 kB / 0.5859 GB, free: 236 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.4462, allocations: 32.67 kB / 0.5859 GB, free: 212 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4464, allocations: 333.5 kB / 0.5862 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4465, allocations: 53.25 kB / 0.5863 GB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.4466, allocations: 71.88 kB / 0.5863 GB, free: 15.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.4468, allocations: 123 kB / 0.5865 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4468, allocations: 0 / 0.5865 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003634/0.4472, allocations: 196.2 kB / 0.5866 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4472, allocations: 6.062 kB / 0.5867 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4472, allocations: 0 / 0.5867 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4473, allocations: 1 kB / 0.5867 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4474, allocations: 25.44 kB / 0.5867 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4474, allocations: 1.094 kB / 0.5867 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.4475, allocations: 16.64 kB / 0.5867 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4475, allocations: 4.766 kB / 0.5867 GB, free: 15.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.4476, allocations: 143.4 kB / 0.5868 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.4477, allocations: 20.14 kB / 0.5869 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.4477, allocations: 26.11 kB / 0.5869 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4478, allocations: 2.766 kB / 0.5869 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4478, allocations: 1.125 kB / 0.5869 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4478, allocations: 0.8438 kB / 0.5869 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.448, allocations: 239.2 kB / 0.5871 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.448, allocations: 5.219 kB / 0.5871 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.4481, allocations: 17.86 kB / 0.5871 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4481, allocations: 1.125 kB / 0.5871 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.4481, allocations: 8.594 kB / 0.5871 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4481, allocations: 0.6875 kB / 0.5871 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4481, allocations: 3.938 kB / 0.5871 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.4485, allocations: 217.9 kB / 0.5874 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.4486, allocations: 93.86 kB / 0.5874 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.4486, allocations: 11.23 kB / 0.5875 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.4487, allocations: 3.109 kB / 0.5875 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.4487, allocations: 9.812 kB / 0.5875 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.4488, allocations: 6.359 kB / 0.5875 GB, free: 15.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.4489, allocations: 162.3 kB / 0.5876 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4489, allocations: 0 / 0.5876 GB, free: 14.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.4492, allocations: 33.59 kB / 0.5877 GB, free: 14.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001616/0.4508, allocations: 1.098 MB / 0.5887 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.4511, allocations: 142.3 kB / 0.5889 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4512, allocations: 0 / 0.5889 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4513, allocations: 63.45 kB / 0.5889 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.4516, allocations: 39.66 kB / 0.589 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.4539, allocations: 1.956 MB / 0.5909 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4542, allocations: 0.7195 MB / 0.5916 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.4544, allocations: 48.28 kB / 0.5916 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4545, allocations: 60.52 kB / 0.5917 GB, free: 11.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4545, allocations: 0 / 0.5917 GB, free: 11.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.471, allocations: 4.481 MB / 0.5961 GB, free: 10.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.4712, allocations: 260.6 kB / 0.5963 GB, free: 10.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.363, allocations: 7.812 kB / 0.5963 GB, free: 10.52 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)