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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001117/0.001118, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7373/0.7373, allocations: 132.2 MB / 422.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.45 kB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1735, allocations: 80.2 MB / 0.5795 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003241/0.1768, allocations: 1.702 MB / 0.5812 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1788, allocations: 1.456 MB / 0.5826 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.1789, allocations: 0 / 0.5826 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1793, allocations: 51.81 kB / 0.5826 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1795, allocations: 43.84 kB / 0.5827 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1797, allocations: 90.52 kB / 0.5828 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1799, allocations: 155.6 kB / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1799, allocations: 12.22 kB / 0.5829 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.18, allocations: 55.83 kB / 0.583 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1802, allocations: 67.69 kB / 0.5831 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.1803, allocations: 8 kB / 0.5831 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1804, allocations: 59.97 kB / 0.5831 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.1805, allocations: 35.89 kB / 0.5832 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.1805, allocations: 63.53 kB / 0.5832 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1808, allocations: 183.7 kB / 0.5834 GB, free: 5.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1808, allocations: 7.984 kB / 0.5834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1808, allocations: 4 kB / 0.5834 GB, free: 5.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1808, allocations: 0 / 0.5834 GB, free: 5.133 MB / 494.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.0006485/0.1815, allocations: 462.6 kB / 0.5838 GB, free: 4.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1815, allocations: 8.031 kB / 0.5839 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1816, allocations: 38.75 kB / 0.5839 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.1816, allocations: 16.75 kB / 0.5839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.182, allocations: 267.3 kB / 0.5842 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.182, allocations: 4 kB / 0.5842 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.182, allocations: 11.94 kB / 0.5842 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1823, allocations: 115.3 kB / 0.5843 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1823, allocations: 0 / 0.5843 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1823, allocations: 0 / 0.5843 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1823, allocations: 0 / 0.5843 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1825, allocations: 143.9 kB / 0.5844 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1828, allocations: 229.5 kB / 0.5846 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.1832, allocations: 182.4 kB / 0.5848 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/0.1833, allocations: 48.84 kB / 0.5849 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.1833, allocations: 15.97 kB / 0.5849 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.1836, allocations: 111.5 kB / 0.585 GB, free: 3.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1836, allocations: 3.938 kB / 0.585 GB, free: 3.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004867/0.1841, allocations: 220.1 kB / 0.5852 GB, free: 3.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.1842, allocations: 89.11 kB / 0.5853 GB, free: 3.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1844, allocations: 204.3 kB / 0.5855 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1844, allocations: 29.7 kB / 0.5855 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.1845, allocations: 112.1 kB / 0.5856 GB, free: 2.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.1845, allocations: 47.39 kB / 0.5857 GB, free: 2.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.1846, allocations: 33.7 kB / 0.5857 GB, free: 2.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1847, allocations: 326.8 kB / 0.586 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1848, allocations: 55.97 kB / 0.5861 GB, free: 2.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.185, allocations: 77.78 kB / 0.5861 GB, free: 2.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1852, allocations: 125.6 kB / 0.5862 GB, free: 1.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1852, allocations: 0 / 0.5862 GB, free: 1.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002994/0.1855, allocations: 185.5 kB / 0.5864 GB, free: 1.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1855, allocations: 8 kB / 0.5864 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1855, allocations: 8 kB / 0.5864 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1856, allocations: 0 / 0.5864 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1857, allocations: 23.98 kB / 0.5865 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1857, allocations: 4 kB / 0.5865 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.1857, allocations: 4 kB / 0.5865 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1858, allocations: 8 kB / 0.5865 GB, free: 1.723 MB / 494.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.0001217/0.1859, allocations: 148.5 kB / 0.5866 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.1859, allocations: 23.7 kB / 0.5866 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.186, allocations: 21.53 kB / 0.5867 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.186, allocations: 8 kB / 0.5867 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.186, allocations: 0 / 0.5867 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.186, allocations: 3.984 kB / 0.5867 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1862, allocations: 233.5 kB / 0.5869 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1862, allocations: 0 / 0.5869 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.154e-05/0.1863, allocations: 23.98 kB / 0.5869 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1863, allocations: 4 kB / 0.5869 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1863, allocations: 0 / 0.5869 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1863, allocations: 3.938 kB / 0.5869 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.1863, allocations: 4 kB / 0.5869 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1867, allocations: 219.5 kB / 0.5871 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.1867, allocations: 92.92 kB / 0.5872 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1868, allocations: 4 kB / 0.5872 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.1868, allocations: 7.984 kB / 0.5872 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1869, allocations: 15.92 kB / 0.5873 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1869, allocations: 4 kB / 0.5873 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1871, allocations: 156.2 kB / 0.5874 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1871, allocations: 4 kB / 0.5874 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1873, allocations: 40 kB / 0.5874 GB, free: 0.6328 MB / 494.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.001567/0.1889, allocations: 1.088 MB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.1892, allocations: 123.9 kB / 0.5886 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1892, allocations: 3.938 kB / 0.5886 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1893, allocations: 59.92 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1896, allocations: 35.22 kB / 0.5887 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.1918, allocations: 1.952 MB / 0.5906 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1921, allocations: 0.7244 MB / 0.5913 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.1922, allocations: 53.64 kB / 0.5914 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1923, allocations: 59.41 kB / 0.5914 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1923, allocations: 3.938 kB / 0.5915 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.2076, allocations: 4.38 MB / 0.5957 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.2078, allocations: 266.5 kB / 0.596 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.148, allocations: 0 / 0.596 GB, free: 8.184 MB / 0.4981 GB (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)