Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_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.00704/0.00704, allocations: 101 kB / 15.73 MB, free: 6.445 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.001433/0.001433, allocations: 191.4 kB / 16.67 MB, free: 6.348 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 283.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00267/0.00267, allocations: 100.3 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1694, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002877/0.1724, allocations: 1.644 MB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1745, allocations: 1.476 MB / 0.769 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.1746, allocations: 0 / 0.769 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.1749, allocations: 55.75 kB / 0.769 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1751, allocations: 63.7 kB / 0.7691 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1754, allocations: 106.8 kB / 0.7692 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1756, allocations: 167.6 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1757, allocations: 16.2 kB / 0.7694 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1758, allocations: 67.7 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.176, allocations: 59.81 kB / 0.7695 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.176, allocations: 12 kB / 0.7695 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1761, allocations: 67.95 kB / 0.7696 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.1762, allocations: 43.84 kB / 0.7696 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.1763, allocations: 59.66 kB / 0.7697 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1766, allocations: 199.4 kB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1766, allocations: 4 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1766, allocations: 0 / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5e-06/0.1766, allocations: 0 / 0.7698 GB, free: 4.875 MB / 0.5606 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.0006429/0.1772, allocations: 474.2 kB / 0.7703 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1773, allocations: 8.031 kB / 0.7703 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.1773, allocations: 42.73 kB / 0.7703 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.1774, allocations: 20.8 kB / 0.7704 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.1778, allocations: 268.4 kB / 0.7706 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1778, allocations: 4.375 kB / 0.7706 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1779, allocations: 7.938 kB / 0.7706 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1781, allocations: 115.3 kB / 0.7707 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1781, allocations: 0 / 0.7707 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1781, allocations: 7.922 kB / 0.7708 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1781, allocations: 4 kB / 0.7708 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.1784, allocations: 139.9 kB / 0.7709 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.1787, allocations: 225.6 kB / 0.7711 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.1791, allocations: 178.4 kB / 0.7713 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1792, allocations: 52.84 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1792, allocations: 7.984 kB / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1794, allocations: 111.3 kB / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1794, allocations: 0 / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005067/0.18, allocations: 233.4 kB / 0.7717 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.18, allocations: 77.11 kB / 0.7717 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1803, allocations: 210.5 kB / 0.7719 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1803, allocations: 29.7 kB / 0.772 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.1804, allocations: 112.1 kB / 0.7721 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.1804, allocations: 43.67 kB / 0.7721 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.1805, allocations: 29.72 kB / 0.7721 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1807, allocations: 338.8 kB / 0.7725 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.1808, allocations: 47.98 kB / 0.7725 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1809, allocations: 70.55 kB / 0.7726 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1811, allocations: 136.5 kB / 0.7727 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1811, allocations: 3.938 kB / 0.7727 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003365/0.1815, allocations: 193.5 kB / 0.7729 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1815, allocations: 8 kB / 0.7729 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1815, allocations: 0 / 0.7729 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1815, allocations: 4 kB / 0.7729 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1817, allocations: 23.98 kB / 0.7729 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1817, allocations: 0 / 0.7729 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.1817, allocations: 11.94 kB / 0.7729 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1818, allocations: 4 kB / 0.7729 GB, free: 1.438 MB / 0.5606 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.0001321/0.1819, allocations: 146.3 kB / 0.7731 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1819, allocations: 23.86 kB / 0.7731 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.182, allocations: 29.52 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.182, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.182, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.182, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.1823, allocations: 237.5 kB / 0.7734 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1823, allocations: 4 kB / 0.7734 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.1823, allocations: 19.98 kB / 0.7734 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1824, allocations: 0 / 0.7734 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1824, allocations: 8 kB / 0.7734 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1824, allocations: 0 / 0.7734 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1824, allocations: 4 kB / 0.7734 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.1828, allocations: 212.9 kB / 0.7736 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.1828, allocations: 92.95 kB / 0.7737 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1829, allocations: 11.98 kB / 0.7737 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.1829, allocations: 0 / 0.7737 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.183, allocations: 15.98 kB / 0.7737 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.183, allocations: 4 kB / 0.7737 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001514/0.1831, allocations: 160.2 kB / 0.7739 GB, free: 400 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1832, allocations: 0 / 0.7739 GB, free: 400 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003236/0.1835, allocations: 36 kB / 0.7739 GB, free: 364 kB / 0.5606 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.2843/0.4678, allocations: 1.091 MB / 0.775 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.4682, allocations: 126.5 kB / 0.7751 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4682, allocations: 0 / 0.7751 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.4683, allocations: 64.78 kB / 0.7752 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.4686, allocations: 40.41 kB / 0.7752 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.4707, allocations: 1.943 MB / 0.7771 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.4708, allocations: 0.7202 MB / 0.7778 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.4709, allocations: 49.16 kB / 0.7778 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.4711, allocations: 60.5 kB / 0.7779 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of SimCode: time 4.9e-07/0.4711, allocations: 1.641 kB / 0.7779 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.498, allocations: 4.712 MB / 0.7825 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.478, allocations: 5.594 kB / 0.7825 GB, free: 12.38 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)