Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",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.004984/0.004984, allocations: 103.8 kB / 15.73 MB, free: 6.496 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.001239/0.001239, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 286.7 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9213/0.9213, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.001751, allocations: 95.86 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1583, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002232/0.1606, allocations: 1.393 MB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003388/0.164, allocations: 2.898 MB / 0.7701 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.1641, allocations: 4 kB / 0.7701 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.859e-05/0.1641, allocations: 7.938 kB / 0.7701 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1643, allocations: 43.8 kB / 0.7701 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.1648, allocations: 195.3 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1651, allocations: 235.5 kB / 0.7705 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.1651, allocations: 4 kB / 0.7705 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.1652, allocations: 91.86 kB / 0.7706 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1654, allocations: 131.6 kB / 0.7708 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1654, allocations: 12 kB / 0.7708 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.1658, allocations: 131.9 kB / 0.7709 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.1659, allocations: 87.77 kB / 0.771 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.166, allocations: 99.56 kB / 0.7711 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1664, allocations: 267.3 kB / 0.7713 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1664, allocations: 0 / 0.7713 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1664, allocations: 0 / 0.7713 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1664, allocations: 0 / 0.7713 GB, free: 3.352 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000765/0.1672, allocations: 0.53 MB / 0.7718 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1672, allocations: 8.031 kB / 0.7719 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.1673, allocations: 50.73 kB / 0.7719 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1674, allocations: 16.75 kB / 0.7719 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1676, allocations: 240.1 kB / 0.7721 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1677, allocations: 28.36 kB / 0.7722 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1677, allocations: 16.38 kB / 0.7722 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1683, allocations: 293.4 kB / 0.7725 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1683, allocations: 0 / 0.7725 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.1683, allocations: 7.984 kB / 0.7725 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1684, allocations: 8 kB / 0.7725 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.1696, allocations: 0.7491 MB / 0.7732 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.17, allocations: 313.2 kB / 0.7735 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.1714, allocations: 0.664 MB / 0.7742 GB, free: 292 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.1719, allocations: 233.3 kB / 0.7744 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3479/0.5198, allocations: 395.4 kB / 0.7748 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5199, allocations: 36.47 kB / 0.7748 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.284e-06/0.5199, allocations: 0 / 0.7748 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001951/0.5218, allocations: 0.6489 MB / 0.7754 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5219, allocations: 55.83 kB / 0.7755 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.522, allocations: 126.8 kB / 0.7756 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.522, allocations: 33.7 kB / 0.7756 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.5221, allocations: 90.38 kB / 0.7757 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5222, allocations: 123.3 kB / 0.7758 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.5223, allocations: 64.8 kB / 0.7759 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.5224, allocations: 328.2 kB / 0.7762 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.5229, allocations: 196.5 kB / 0.7764 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.5234, allocations: 198.1 kB / 0.7766 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.5243, allocations: 366.3 kB / 0.7769 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5243, allocations: 0.875 kB / 0.7769 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001054/0.5254, allocations: 469.5 kB / 0.7774 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5254, allocations: 5.062 kB / 0.7774 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5254, allocations: 0.875 kB / 0.7774 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5254, allocations: 4.812 kB / 0.7774 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.5258, allocations: 96.3 kB / 0.7775 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5258, allocations: 3.328 kB / 0.7775 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.526, allocations: 54 kB / 0.7775 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.526, allocations: 15 kB / 0.7776 GB, free: 14.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001014/0.5261, allocations: 147.5 kB / 0.7777 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.5262, allocations: 16.31 kB / 0.7777 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.5274, allocations: 0.5163 MB / 0.7782 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5274, allocations: 5.219 kB / 0.7782 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5274, allocations: 2.172 kB / 0.7782 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5274, allocations: 1.875 kB / 0.7782 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.5278, allocations: 318.5 kB / 0.7785 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5279, allocations: 0 / 0.7785 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.5282, allocations: 94.16 kB / 0.7786 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5282, allocations: 3.391 kB / 0.7786 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.5283, allocations: 13.33 kB / 0.7786 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.5283, allocations: 2 kB / 0.7786 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5283, allocations: 3.5 kB / 0.7786 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.5293, allocations: 0.5 MB / 0.7791 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.5294, allocations: 95.2 kB / 0.7792 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.5294, allocations: 14.27 kB / 0.7792 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.5296, allocations: 34.05 kB / 0.7793 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.5298, allocations: 118.2 kB / 0.7794 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.5299, allocations: 16 kB / 0.7794 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.5299, allocations: 102.7 kB / 0.7795 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5299, allocations: 0.9375 kB / 0.7795 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004169/0.5304, allocations: 116.5 kB / 0.7796 GB, free: 13.75 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001501/0.5319, allocations: 1.12 MB / 0.7807 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.533, allocations: 475.6 kB / 0.7812 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.533, allocations: 0.875 kB / 0.7812 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.5335, allocations: 261.8 kB / 0.7814 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.5339, allocations: 73.58 kB / 0.7815 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.5377, allocations: 2.682 MB / 0.7841 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.5379, allocations: 0.7312 MB / 0.7848 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004477/0.5384, allocations: 189.6 kB / 0.785 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5385, allocations: 66.16 kB / 0.7851 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5385, allocations: 0 / 0.7851 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.5659, allocations: 7.567 MB / 0.7924 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.841, allocations: 12.97 kB / 0.7925 GB, free: 9.977 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)