Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 188.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 103.8 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 289.7 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 80.14 kB / 0.6885 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3785, allocations: 81.31 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.004848/0.3834, allocations: 4.484 MB / 0.7723 GB, free: 23.17 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3855, allocations: 2.699 MB / 0.7749 GB, free: 20.46 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.3856, allocations: 0 / 0.7749 GB, free: 20.46 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.3859, allocations: 47.73 kB / 0.775 GB, free: 20.42 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.3861, allocations: 87.48 kB / 0.7751 GB, free: 20.33 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3871, allocations: 445.2 kB / 0.7755 GB, free: 19.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.3874, allocations: 311.8 kB / 0.7758 GB, free: 19.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.3874, allocations: 17.55 kB / 0.7758 GB, free: 19.58 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007876/0.3882, allocations: 404.4 kB / 0.7762 GB, free: 19.19 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.3883, allocations: 99.59 kB / 0.7763 GB, free: 19.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.3884, allocations: 4 kB / 0.7763 GB, free: 19.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.3893, allocations: 499 kB / 0.7768 GB, free: 18.6 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.3893, allocations: 35.89 kB / 0.7768 GB, free: 18.56 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.3894, allocations: 79.66 kB / 0.7769 GB, free: 18.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.3899, allocations: 351 kB / 0.7772 GB, free: 18.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3899, allocations: 0 / 0.7772 GB, free: 18.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3899, allocations: 0 / 0.7772 GB, free: 18.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3899, allocations: 4 kB / 0.7772 GB, free: 18.14 MB / 458.7 MB 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.0006638/0.3906, allocations: 0.5031 MB / 0.7777 GB, free: 17.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3906, allocations: 8.031 kB / 0.7777 GB, free: 17.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.3908, allocations: 28.73 kB / 0.7777 GB, free: 17.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.391, allocations: 212 kB / 0.7779 GB, free: 17.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.391, allocations: 16.7 kB / 0.778 GB, free: 17.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.391, allocations: 12.38 kB / 0.778 GB, free: 17.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.3914, allocations: 249.1 kB / 0.7782 GB, free: 17.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3914, allocations: 7.938 kB / 0.7782 GB, free: 17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3914, allocations: 8 kB / 0.7782 GB, free: 17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.3915, allocations: 11.98 kB / 0.7782 GB, free: 16.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.3918, allocations: 428 kB / 0.7786 GB, free: 16.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.3927, allocations: 0.9998 MB / 0.7796 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3929, allocations: 164.1 kB / 0.7798 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.393, allocations: 64.88 kB / 0.7798 GB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008555/0.3939, allocations: 1.821 MB / 0.7816 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3939, allocations: 34.56 kB / 0.7817 GB, free: 13.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3939, allocations: 0 / 0.7817 GB, free: 13.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002946/0.3942, allocations: 154.2 kB / 0.7818 GB, free: 12.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.3942, allocations: 55.34 kB / 0.7819 GB, free: 12.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3944, allocations: 166.3 kB / 0.782 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3944, allocations: 29.7 kB / 0.782 GB, free: 12.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.3944, allocations: 147.8 kB / 0.7822 GB, free: 12.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3945, allocations: 47.3 kB / 0.7822 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.3945, allocations: 53.61 kB / 0.7823 GB, free: 12.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.3946, allocations: 326.8 kB / 0.7826 GB, free: 12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.3947, allocations: 39.97 kB / 0.7826 GB, free: 11.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-05/0.3948, allocations: 139.5 kB / 0.7828 GB, free: 11.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3949, allocations: 200 kB / 0.783 GB, free: 11.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3949, allocations: 0 / 0.783 GB, free: 11.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002522/0.3952, allocations: 213.1 kB / 0.7832 GB, free: 11.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3952, allocations: 8.469 kB / 0.7832 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3952, allocations: 11.94 kB / 0.7832 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3953, allocations: 4 kB / 0.7832 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3954, allocations: 55.84 kB / 0.7832 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3954, allocations: 11.94 kB / 0.7832 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3955, allocations: 31.67 kB / 0.7833 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3956, allocations: 16 kB / 0.7833 GB, free: 11.18 MB / 458.7 MB 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 7.734e-05/0.3957, allocations: 129.8 kB / 0.7834 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.3957, allocations: 11.91 kB / 0.7834 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.3959, allocations: 161.3 kB / 0.7836 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.396, allocations: 11.88 kB / 0.7836 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.396, allocations: 0 / 0.7836 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.396, allocations: 0 / 0.7836 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3962, allocations: 221.5 kB / 0.7838 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3962, allocations: 0 / 0.7838 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.3963, allocations: 24 kB / 0.7838 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3963, allocations: 3.984 kB / 0.7838 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3963, allocations: 4 kB / 0.7838 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3963, allocations: 7.938 kB / 0.7838 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3963, allocations: 4 kB / 0.7838 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.3967, allocations: 0.8096 MB / 0.7846 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.3967, allocations: 104.9 kB / 0.7847 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3968, allocations: 4 kB / 0.7847 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.397, allocations: 15.98 kB / 0.7848 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.397, allocations: 15.98 kB / 0.7848 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.397, allocations: 7.984 kB / 0.7848 GB, free: 9.523 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.3971, allocations: 124.9 kB / 0.7849 GB, free: 9.402 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3971, allocations: 0 / 0.7849 GB, free: 9.402 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.3975, allocations: 75.94 kB / 0.785 GB, free: 9.328 MB / 458.7 MB 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.0003422/0.3979, allocations: 191 kB / 0.7851 GB, free: 9.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3981, allocations: 122 kB / 0.7853 GB, free: 9.012 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3981, allocations: 0 / 0.7853 GB, free: 9.012 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.3981, allocations: 43.97 kB / 0.7853 GB, free: 8.969 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3986, allocations: 58.39 kB / 0.7854 GB, free: 8.914 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.3992, allocations: 0.519 MB / 0.7859 GB, free: 8.355 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3993, allocations: 0.7209 MB / 0.7866 GB, free: 7.605 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.3995, allocations: 49.69 kB / 0.7866 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.3995, allocations: 27.44 kB / 0.7866 GB, free: 7.531 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3995, allocations: 0 / 0.7866 GB, free: 7.531 MB / 458.7 MB Notification: Performance of Templates: time 0.005854/0.4054, allocations: 3.299 MB / 0.7899 GB, free: 4.27 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)