Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.001598/0.001598, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 196.6 kB / 16.53 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 56.81 kB / 0.5019 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1632, allocations: 80.2 MB / 0.5802 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006624/0.1699, allocations: 4.436 MB / 0.5845 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.1729, allocations: 2.691 MB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.173, allocations: 4 kB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.1734, allocations: 43.69 kB / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1737, allocations: 99.34 kB / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.175, allocations: 495.8 kB / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.1753, allocations: 232 kB / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.1753, allocations: 13.55 kB / 0.588 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1764, allocations: 421.4 kB / 0.5884 GB, free: 284 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1765, allocations: 91.61 kB / 0.5885 GB, free: 192 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1766, allocations: 4 kB / 0.5885 GB, free: 188 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1776, allocations: 495.3 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.1777, allocations: 31.89 kB / 0.589 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.1778, allocations: 91.58 kB / 0.5891 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.1786, allocations: 343.2 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1786, allocations: 0 / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1786, allocations: 0 / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.1786, allocations: 0 / 0.5894 GB, free: 15.24 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007718/0.1794, allocations: 0.507 MB / 0.5899 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1794, allocations: 8.031 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.1795, allocations: 54.73 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.1797, allocations: 16.84 kB / 0.59 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1799, allocations: 212.1 kB / 0.5902 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1799, allocations: 12.7 kB / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.18, allocations: 12.38 kB / 0.5902 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.1804, allocations: 253.5 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1804, allocations: 0 / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.1804, allocations: 8 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.1805, allocations: 12 kB / 0.5905 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.1809, allocations: 431.4 kB / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.182, allocations: 1.008 MB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1823, allocations: 159.9 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.1824, allocations: 60.88 kB / 0.5921 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.1839, allocations: 1.825 MB / 0.5938 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1839, allocations: 38.5 kB / 0.5939 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.1839, allocations: 0 / 0.5939 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004039/0.1843, allocations: 149.4 kB / 0.594 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1844, allocations: 55.34 kB / 0.5941 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1846, allocations: 177.5 kB / 0.5942 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1846, allocations: 29.7 kB / 0.5943 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.1847, allocations: 143.7 kB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.1847, allocations: 55.25 kB / 0.5945 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.1848, allocations: 53.7 kB / 0.5945 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.185, allocations: 322.8 kB / 0.5948 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.185, allocations: 31.98 kB / 0.5948 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1852, allocations: 150.1 kB / 0.595 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1854, allocations: 189.5 kB / 0.5952 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1855, allocations: 4 kB / 0.5952 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003714/0.1858, allocations: 219.3 kB / 0.5954 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1859, allocations: 8 kB / 0.5954 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1859, allocations: 8 kB / 0.5954 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.1859, allocations: 7.938 kB / 0.5954 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.1861, allocations: 55.91 kB / 0.5955 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.1861, allocations: 8 kB / 0.5955 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1862, allocations: 24.19 kB / 0.5955 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1863, allocations: 19.98 kB / 0.5955 GB, free: 8.227 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001211/0.1864, allocations: 133.7 kB / 0.5956 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.1864, allocations: 15.81 kB / 0.5957 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.1868, allocations: 154.9 kB / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.1868, allocations: 7.938 kB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1868, allocations: 0 / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1868, allocations: 0 / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1871, allocations: 217.5 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.1871, allocations: 4 kB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/0.1872, allocations: 23.98 kB / 0.596 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1872, allocations: 0 / 0.596 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1872, allocations: 8 kB / 0.596 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1872, allocations: 7.875 kB / 0.5961 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1872, allocations: 0 / 0.5961 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1875, allocations: 208.9 kB / 0.5963 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.1876, allocations: 112.8 kB / 0.5964 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1876, allocations: 8 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1878, allocations: 19.92 kB / 0.5964 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.1879, allocations: 15.92 kB / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1879, allocations: 8 kB / 0.5964 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.188, allocations: 117.6 kB / 0.5965 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.188, allocations: 0 / 0.5965 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004343/0.1884, allocations: 83.98 kB / 0.5966 GB, free: 7.004 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000866/0.1893, allocations: 0.824 MB / 0.5974 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.1896, allocations: 132.4 kB / 0.5975 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1896, allocations: 4.25 kB / 0.5975 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.1897, allocations: 47.92 kB / 0.5976 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.1901, allocations: 51.83 kB / 0.5976 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.1927, allocations: 2.035 MB / 0.5996 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.193, allocations: 0.709 MB / 0.6003 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.1932, allocations: 49.73 kB / 0.6004 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.1933, allocations: 51.36 kB / 0.6004 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.1933, allocations: 0 / 0.6004 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2647/0.458, allocations: 5.098 MB / 0.6054 GB, free: 56.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.766/10.22, allocations: 10.12 kB / 0.6054 GB, free: 56.08 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)