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.0009576/0.0009647, allocations: 91.61 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.0009306/0.0009306, 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.421/1.421, allocations: 223.3 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/package.mo): time 0.7637/0.7637, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 15.98 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4499, allocations: 81.57 MB / 0.5832 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002052/0.452, allocations: 1.335 MB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.4541, allocations: 1.368 MB / 0.5858 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.4542, allocations: 1.25 kB / 0.5858 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.4546, allocations: 54.03 kB / 0.5859 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.4548, allocations: 43.78 kB / 0.5859 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.4552, allocations: 85.16 kB / 0.586 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.4554, allocations: 140.1 kB / 0.5861 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.4555, allocations: 8.906 kB / 0.5861 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4556, allocations: 58.48 kB / 0.5862 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.4559, allocations: 64.55 kB / 0.5862 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.4559, allocations: 5.219 kB / 0.5862 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.4561, allocations: 59.66 kB / 0.5863 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.4562, allocations: 35.19 kB / 0.5863 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.4563, allocations: 41.84 kB / 0.5864 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.4565, allocations: 142.2 kB / 0.5865 GB, free: 1.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4566, allocations: 1.672 kB / 0.5865 GB, free: 1.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4566, allocations: 0 / 0.5865 GB, free: 1.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4566, allocations: 4 kB / 0.5865 GB, free: 1.762 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.0006419/0.4572, allocations: 449.2 kB / 0.5869 GB, free: 1.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4573, allocations: 9.219 kB / 0.587 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.4573, allocations: 38.16 kB / 0.587 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.4574, allocations: 19.81 kB / 0.587 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.4578, allocations: 253 kB / 0.5873 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4578, allocations: 7.109 kB / 0.5873 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4579, allocations: 4 kB / 0.5873 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.4581, allocations: 122.5 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4582, allocations: 0.875 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.4582, allocations: 5.688 kB / 0.5874 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4582, allocations: 1.094 kB / 0.5874 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.4585, allocations: 136 kB / 0.5875 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.4588, allocations: 235.2 kB / 0.5877 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.4592, allocations: 174.5 kB / 0.5879 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4593, allocations: 55.44 kB / 0.588 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.4593, allocations: 8.938 kB / 0.588 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.4596, allocations: 120.7 kB / 0.5881 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.4596, allocations: 0 / 0.5881 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005392/0.4602, allocations: 222.1 kB / 0.5883 GB, free: 456 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.4602, allocations: 78.48 kB / 0.5884 GB, free: 360 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4605, allocations: 199.5 kB / 0.5886 GB, free: 224 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4605, allocations: 36.55 kB / 0.5886 GB, free: 184 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.4606, allocations: 110.1 kB / 0.5887 GB, free: 80 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.4606, allocations: 48.89 kB / 0.5887 GB, free: 44 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.4606, allocations: 0 / 0.5887 GB, free: 44 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4608, allocations: 333.3 kB / 0.5891 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.461, allocations: 48.94 kB / 0.5891 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.4611, allocations: 74.38 kB / 0.5892 GB, free: 15.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4612, allocations: 60.84 kB / 0.5892 GB, free: 15.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4612, allocations: 0 / 0.5892 GB, free: 15.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003897/0.4616, allocations: 193.1 kB / 0.5894 GB, free: 15.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4617, allocations: 7.719 kB / 0.5894 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4617, allocations: 0.7031 kB / 0.5894 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4617, allocations: 5.062 kB / 0.5894 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4618, allocations: 28.36 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4619, allocations: 2.078 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.4619, allocations: 12.19 kB / 0.5895 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.462, allocations: 9.312 kB / 0.5895 GB, free: 15.52 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.4621, allocations: 141.9 kB / 0.5896 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.4622, allocations: 15.16 kB / 0.5896 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.4622, allocations: 31.05 kB / 0.5897 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4623, allocations: 5.156 kB / 0.5897 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4623, allocations: 5.438 kB / 0.5897 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4623, allocations: 1.406 kB / 0.5897 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.4625, allocations: 235.1 kB / 0.5899 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4626, allocations: 0.7969 kB / 0.5899 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.4626, allocations: 22.12 kB / 0.5899 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4627, allocations: 1.312 kB / 0.5899 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4627, allocations: 4.109 kB / 0.5899 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4627, allocations: 0.6875 kB / 0.5899 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4627, allocations: 0.5156 kB / 0.5899 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.4631, allocations: 217.1 kB / 0.5901 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.4632, allocations: 99.98 kB / 0.5902 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.4632, allocations: 8.297 kB / 0.5902 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.4633, allocations: 3.594 kB / 0.5902 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.4634, allocations: 9.094 kB / 0.5903 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.4634, allocations: 10.38 kB / 0.5903 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.4636, allocations: 156.6 kB / 0.5904 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4636, allocations: 0.8125 kB / 0.5904 GB, free: 14.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.4639, allocations: 40.38 kB / 0.5905 GB, free: 14.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001719/0.4656, allocations: 1.107 MB / 0.5915 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.4659, allocations: 119.5 kB / 0.5916 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.466, allocations: 1.531 kB / 0.5916 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.4661, allocations: 56.97 kB / 0.5917 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4664, allocations: 27.64 kB / 0.5917 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.4684, allocations: 0.9911 MB / 0.5927 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4688, allocations: 0.72 MB / 0.5934 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.4689, allocations: 49.48 kB / 0.5934 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4691, allocations: 65.44 kB / 0.5935 GB, free: 12.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4691, allocations: 0 / 0.5935 GB, free: 12.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.4888, allocations: 4.16 MB / 0.5976 GB, free: 11.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.489, allocations: 239 kB / 0.5978 GB, free: 11.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.294, allocations: 3.516 kB / 0.5978 GB, free: 11.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/linux/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) Environment - environmentSimulation: