Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",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.0008592/0.0008593, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009086/0.0009087, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.047/1.047, allocations: 143.3 MB / 434.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 12 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1746, allocations: 83.42 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00141/0.1761, allocations: 1.072 MB / 0.5984 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003127/0.1793, allocations: 2.569 MB / 0.6009 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.1793, allocations: 0 / 0.6009 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.476e-05/0.1794, allocations: 11.98 kB / 0.6009 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.1795, allocations: 19.89 kB / 0.6009 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.18, allocations: 155.6 kB / 0.6011 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1802, allocations: 155.7 kB / 0.6012 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.1802, allocations: 4 kB / 0.6012 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.1803, allocations: 83.86 kB / 0.6013 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1805, allocations: 107.8 kB / 0.6014 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1805, allocations: 8 kB / 0.6014 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.1809, allocations: 163.9 kB / 0.6016 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.181, allocations: 67.88 kB / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.181, allocations: 61.56 kB / 0.6017 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1813, allocations: 191.8 kB / 0.6019 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1813, allocations: 3.938 kB / 0.6019 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1813, allocations: 4 kB / 0.6019 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1813, allocations: 0 / 0.6019 GB, free: 3.141 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007971/0.1822, allocations: 0.5258 MB / 0.6024 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1822, allocations: 12.03 kB / 0.6024 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.1823, allocations: 46.55 kB / 0.6025 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1824, allocations: 23.77 kB / 0.6025 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1827, allocations: 250.3 kB / 0.6027 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.1827, allocations: 23.98 kB / 0.6027 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1828, allocations: 12 kB / 0.6028 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1834, allocations: 309.4 kB / 0.6031 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1834, allocations: 0 / 0.6031 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1835, allocations: 12 kB / 0.6031 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.1835, allocations: 8 kB / 0.6031 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.1849, allocations: 0.8112 MB / 0.6039 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.1853, allocations: 297.4 kB / 0.6041 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3476/0.533, allocations: 0.7701 MB / 0.6049 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/0.5334, allocations: 390.5 kB / 0.6053 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.5335, allocations: 37.66 kB / 0.6053 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.614e-06/0.5335, allocations: 0 / 0.6053 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001626/0.5351, allocations: 0.736 MB / 0.606 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.5352, allocations: 56.72 kB / 0.6061 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.5352, allocations: 127.1 kB / 0.6062 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5353, allocations: 32.02 kB / 0.6062 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.5353, allocations: 90.58 kB / 0.6063 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.5354, allocations: 130.1 kB / 0.6064 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.5354, allocations: 3.812 kB / 0.6064 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.5355, allocations: 329.2 kB / 0.6068 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.5359, allocations: 224.5 kB / 0.607 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.5364, allocations: 226.2 kB / 0.6072 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.5368, allocations: 206.9 kB / 0.6074 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5368, allocations: 0 / 0.6074 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001004/0.5378, allocations: 0.5139 MB / 0.6079 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5379, allocations: 6.438 kB / 0.6079 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5379, allocations: 0 / 0.6079 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5379, allocations: 2.719 kB / 0.6079 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.5383, allocations: 114.5 kB / 0.608 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5383, allocations: 0 / 0.608 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.5385, allocations: 66.47 kB / 0.6081 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.5386, allocations: 11.42 kB / 0.6081 GB, free: 39.74 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.5387, allocations: 148.5 kB / 0.6082 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.5388, allocations: 17.41 kB / 0.6082 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.5399, allocations: 0.5735 MB / 0.6088 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.54, allocations: 3.969 kB / 0.6088 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.54, allocations: 0 / 0.6088 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.54, allocations: 0 / 0.6088 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.5403, allocations: 325.8 kB / 0.6091 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5403, allocations: 0 / 0.6091 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.5407, allocations: 112.9 kB / 0.6092 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5407, allocations: 2.344 kB / 0.6092 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.5407, allocations: 13.42 kB / 0.6092 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5407, allocations: 2.625 kB / 0.6092 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5407, allocations: 0 / 0.6092 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.5418, allocations: 0.5536 MB / 0.6098 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.5419, allocations: 94.92 kB / 0.6099 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.5419, allocations: 7.906 kB / 0.6099 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.5421, allocations: 54.5 kB / 0.6099 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.5423, allocations: 116.4 kB / 0.61 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.5424, allocations: 14.09 kB / 0.6101 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.5424, allocations: 97.23 kB / 0.6101 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5424, allocations: 0 / 0.6101 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000404/0.5428, allocations: 122.4 kB / 0.6103 GB, free: 39.06 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.5443, allocations: 1.171 MB / 0.6114 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.5453, allocations: 0.5211 MB / 0.6119 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5453, allocations: 0 / 0.6119 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.5458, allocations: 284.7 kB / 0.6122 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.5462, allocations: 71.7 kB / 0.6123 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.5487, allocations: 1.588 MB / 0.6138 GB, free: 37.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.5489, allocations: 0.7404 MB / 0.6145 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004416/0.5493, allocations: 183.6 kB / 0.6147 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.5495, allocations: 65.02 kB / 0.6148 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.5495, allocations: 0 / 0.6148 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.5697, allocations: 6.721 MB / 0.6213 GB, free: 36.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.57, allocations: 205 kB / 0.6215 GB, free: 36.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.358, allocations: 3.875 kB / 0.6215 GB, free: 36.51 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) Environment - environmentSimulation: