Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001091/0.001091, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001084/0.001084, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7226/0.7226, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 61.59 kB / 0.5014 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 80.2 MB / 0.5797 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002209/0.1733, allocations: 1.321 MB / 0.581 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.1767, allocations: 2.92 MB / 0.5838 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1767, allocations: 0 / 0.5838 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.1768, allocations: 0 / 0.5838 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.1768, allocations: 3.984 kB / 0.5838 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.1773, allocations: 99.61 kB / 0.5839 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.1774, allocations: 35.91 kB / 0.5839 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.1774, allocations: 4 kB / 0.5839 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.1778, allocations: 139.6 kB / 0.5841 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.1779, allocations: 19.92 kB / 0.5841 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1779, allocations: 4 kB / 0.5841 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.178, allocations: 71.81 kB / 0.5842 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1781, allocations: 3.984 kB / 0.5842 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1781, allocations: 15.94 kB / 0.5842 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1783, allocations: 72.06 kB / 0.5843 GB, free: 4.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1783, allocations: 0 / 0.5843 GB, free: 4.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1783, allocations: 0 / 0.5843 GB, free: 4.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1783, allocations: 4 kB / 0.5843 GB, free: 4.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004056/0.1787, allocations: 339.5 kB / 0.5846 GB, free: 3.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1788, allocations: 11.97 kB / 0.5846 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.1788, allocations: 42.73 kB / 0.5846 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1788, allocations: 4.844 kB / 0.5846 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.1789, allocations: 164.3 kB / 0.5848 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1789, allocations: 8.375 kB / 0.5848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.179, allocations: 8.375 kB / 0.5848 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1791, allocations: 53.61 kB / 0.5849 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1791, allocations: 0 / 0.5849 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1792, allocations: 7.938 kB / 0.5849 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1792, allocations: 3.984 kB / 0.5849 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.1792, allocations: 15.98 kB / 0.5849 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1794, allocations: 169.6 kB / 0.5851 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.1795, allocations: 58.5 kB / 0.5851 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.1795, allocations: 20.84 kB / 0.5851 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006724/0.1802, allocations: 0.5868 MB / 0.5857 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1802, allocations: 34.56 kB / 0.5857 GB, free: 2.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1803, allocations: 0 / 0.5857 GB, free: 2.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005523/0.1808, allocations: 306.5 kB / 0.586 GB, free: 2.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1809, allocations: 51.41 kB / 0.5861 GB, free: 2.109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.1809, allocations: 105.7 kB / 0.5862 GB, free: 1.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.181, allocations: 29.7 kB / 0.5862 GB, free: 1.961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.181, allocations: 84.05 kB / 0.5863 GB, free: 1.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.181, allocations: 31.55 kB / 0.5863 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1811, allocations: 25.72 kB / 0.5863 GB, free: 1.812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.1812, allocations: 322.8 kB / 0.5866 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.1812, allocations: 12 kB / 0.5867 GB, free: 1.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.1813, allocations: 56.53 kB / 0.5867 GB, free: 1.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.1813, allocations: 73.08 kB / 0.5868 GB, free: 1.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1813, allocations: 0 / 0.5868 GB, free: 1.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001175/0.1815, allocations: 89.55 kB / 0.5869 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1815, allocations: 8 kB / 0.5869 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1815, allocations: 4.016 kB / 0.5869 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1815, allocations: 4 kB / 0.5869 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.1816, allocations: 24.06 kB / 0.5869 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1816, allocations: 3.984 kB / 0.5869 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.1816, allocations: 11.94 kB / 0.5869 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.1817, allocations: 4 kB / 0.5869 GB, free: 1.164 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.432e-05/0.1817, allocations: 121.8 kB / 0.587 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.1818, allocations: 3.906 kB / 0.587 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.1818, allocations: 7.969 kB / 0.5871 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1818, allocations: 4 kB / 0.5871 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1818, allocations: 7.938 kB / 0.5871 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1818, allocations: 4.219 kB / 0.5871 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.182, allocations: 169.7 kB / 0.5872 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.182, allocations: 0 / 0.5872 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.1821, allocations: 19.98 kB / 0.5873 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1821, allocations: 0 / 0.5873 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1822, allocations: 8.422 kB / 0.5873 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1822, allocations: 0 / 0.5873 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1822, allocations: 4 kB / 0.5873 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1823, allocations: 179.4 kB / 0.5874 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1824, allocations: 85.02 kB / 0.5875 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1824, allocations: 0 / 0.5875 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1825, allocations: 8 kB / 0.5875 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.1826, allocations: 7.922 kB / 0.5875 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1826, allocations: 4 kB / 0.5875 GB, free: 460 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.1826, allocations: 75.28 kB / 0.5876 GB, free: 384 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1826, allocations: 4 kB / 0.5876 GB, free: 380 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1828, allocations: 12 kB / 0.5876 GB, free: 368 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0004772/0.1833, allocations: 0.7046 MB / 0.5883 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1834, allocations: 51.94 kB / 0.5884 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1835, allocations: 0 / 0.5884 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.1835, allocations: 16.25 kB / 0.5884 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1838, allocations: 13.97 kB / 0.5884 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.185, allocations: 1.534 MB / 0.5899 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.1853, allocations: 0.6807 MB / 0.5906 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.844e-05/0.1853, allocations: 15.97 kB / 0.5906 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1854, allocations: 15.44 kB / 0.5906 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1854, allocations: 0 / 0.5906 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09315/0.2785, allocations: 1.545 MB / 0.5921 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/0.2789, allocations: 211.1 kB / 0.5923 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.139, allocations: 0 / 0.5923 GB, free: 11.51 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)