Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_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.005127/0.005127, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001198/0.001198, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8167/0.8167, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.67 kB / 0.5851 GB, free: 22.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1626, allocations: 80.93 MB / 0.6642 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003302/0.1659, allocations: 1.641 MB / 0.6658 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1681, allocations: 1.483 MB / 0.6672 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.1682, allocations: 3.938 kB / 0.6672 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.1686, allocations: 47.77 kB / 0.6673 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1689, allocations: 55.7 kB / 0.6673 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1692, allocations: 111.7 kB / 0.6674 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1694, allocations: 167.6 kB / 0.6676 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1695, allocations: 8.234 kB / 0.6676 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1696, allocations: 59.78 kB / 0.6677 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1698, allocations: 75.67 kB / 0.6677 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1698, allocations: 12 kB / 0.6677 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.17, allocations: 63.97 kB / 0.6678 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.17, allocations: 47.83 kB / 0.6678 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.1701, allocations: 51.67 kB / 0.6679 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1704, allocations: 202.2 kB / 0.6681 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1704, allocations: 0 / 0.6681 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1704, allocations: 0 / 0.6681 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.1705, allocations: 4 kB / 0.6681 GB, free: 2.383 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006473/0.1711, allocations: 467.5 kB / 0.6685 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1712, allocations: 13.11 kB / 0.6686 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.1712, allocations: 34.73 kB / 0.6686 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.1713, allocations: 16.75 kB / 0.6686 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1717, allocations: 271.2 kB / 0.6689 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.1717, allocations: 0 / 0.6689 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1717, allocations: 8 kB / 0.6689 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.1719, allocations: 119.3 kB / 0.669 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.172, allocations: 0 / 0.669 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.172, allocations: 4 kB / 0.669 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.172, allocations: 0 / 0.669 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1722, allocations: 143.8 kB / 0.6691 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.1725, allocations: 233.4 kB / 0.6693 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.1728, allocations: 182.5 kB / 0.6695 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.1729, allocations: 52.83 kB / 0.6696 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.173, allocations: 4 kB / 0.6696 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.1732, allocations: 111.4 kB / 0.6697 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1732, allocations: 0 / 0.6697 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004737/0.1737, allocations: 228.8 kB / 0.6699 GB, free: 360 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1737, allocations: 81.11 kB / 0.67 GB, free: 260 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1739, allocations: 216 kB / 0.6702 GB, free: 32 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.174, allocations: 33.75 kB / 0.6702 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.174, allocations: 108.1 kB / 0.6703 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.1741, allocations: 43.44 kB / 0.6704 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.1742, allocations: 29.72 kB / 0.6704 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1743, allocations: 338.8 kB / 0.6707 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1744, allocations: 51.98 kB / 0.6708 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1745, allocations: 66.55 kB / 0.6708 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.1747, allocations: 133.7 kB / 0.6709 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1747, allocations: 0 / 0.6709 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003101/0.1751, allocations: 189.4 kB / 0.6711 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1751, allocations: 4 kB / 0.6711 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1751, allocations: 4.062 kB / 0.6711 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.1751, allocations: 4 kB / 0.6711 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1753, allocations: 27.98 kB / 0.6712 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1753, allocations: 0 / 0.6712 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.1754, allocations: 11.84 kB / 0.6712 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1754, allocations: 7.984 kB / 0.6712 GB, free: 14.95 MB / 0.5137 GB 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.0001582/0.1755, allocations: 145.7 kB / 0.6713 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.1756, allocations: 11.81 kB / 0.6713 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.1757, allocations: 29.52 kB / 0.6714 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1757, allocations: 4 kB / 0.6714 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1757, allocations: 0 / 0.6714 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1757, allocations: 4 kB / 0.6714 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1759, allocations: 229.5 kB / 0.6716 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.176, allocations: 3.938 kB / 0.6716 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.176, allocations: 19.98 kB / 0.6716 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.176, allocations: 0 / 0.6716 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1761, allocations: 11.98 kB / 0.6716 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1761, allocations: 0 / 0.6716 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1761, allocations: 0 / 0.6716 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.1764, allocations: 215.5 kB / 0.6718 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.1765, allocations: 96.84 kB / 0.6719 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.1766, allocations: 8 kB / 0.6719 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.082e-05/0.1766, allocations: 8 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.1767, allocations: 7.984 kB / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.1767, allocations: 4 kB / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001596/0.1769, allocations: 151.2 kB / 0.6721 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1769, allocations: 4 kB / 0.6721 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002752/0.1771, allocations: 40 kB / 0.6721 GB, free: 13.89 MB / 0.5137 GB 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.001538/0.1787, allocations: 1.096 MB / 0.6732 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.179, allocations: 116 kB / 0.6733 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.179, allocations: 4 kB / 0.6733 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1791, allocations: 59.91 kB / 0.6734 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1794, allocations: 38.39 kB / 0.6734 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.1816, allocations: 1.952 MB / 0.6753 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1819, allocations: 0.7202 MB / 0.676 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.182, allocations: 49.66 kB / 0.6761 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1821, allocations: 59.41 kB / 0.6761 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1821, allocations: 4 kB / 0.6761 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.2056, allocations: 4.681 MB / 0.6807 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.052, allocations: 13.56 kB / 0.6807 GB, free: 5.254 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)