Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.0009257/0.0009257, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001177/0.001177, allocations: 172.7 kB / 15.95 MB, free: 208 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.553/1.553, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.136/1.136, allocations: 143.4 MB / 434.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 8 kB / 0.5161 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 83.42 MB / 0.5975 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.4345/0.6454, allocations: 56.44 MB / 0.6526 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.6611, allocations: 11.23 MB / 0.6636 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.6637, allocations: 53.25 kB / 0.6637 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.6654, allocations: 462.7 kB / 0.6641 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005465/0.6708, allocations: 1.538 MB / 0.6656 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.6741, allocations: 0.8587 MB / 0.6664 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006982/0.6811, allocations: 3.389 MB / 0.6698 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.6834, allocations: 0.7862 MB / 0.6705 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.6869, allocations: 1.042 MB / 0.6715 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.6886, allocations: 0.7997 MB / 0.6723 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.6888, allocations: 45.44 kB / 0.6724 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.692, allocations: 1.097 MB / 0.6734 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.6923, allocations: 198.5 kB / 0.6736 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.6928, allocations: 282.9 kB / 0.6739 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.6956, allocations: 1.728 MB / 0.6756 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6956, allocations: 5.031 kB / 0.6756 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6956, allocations: 0 / 0.6756 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.6956, allocations: 0 / 0.6756 GB, free: 11.39 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002962/0.6986, allocations: 1.501 MB / 0.6771 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6986, allocations: 10.06 kB / 0.6771 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.6988, allocations: 126.3 kB / 0.6772 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.7009, allocations: 474.7 kB / 0.6776 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.7033, allocations: 1.091 MB / 0.6787 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.7037, allocations: 132 kB / 0.6788 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.7038, allocations: 87.67 kB / 0.6789 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.7061, allocations: 0.9935 MB / 0.6799 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7062, allocations: 1.5 kB / 0.6799 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/0.7063, allocations: 34.97 kB / 0.6799 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.7063, allocations: 19.84 kB / 0.6799 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.7087, allocations: 0.9053 MB / 0.6808 GB, free: 8.676 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007521/0.7162, allocations: 4.891 MB / 0.6856 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.7195, allocations: 0.8999 MB / 0.6865 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.7203, allocations: 320.1 kB / 0.6868 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007107/0.721, allocations: 0.9034 MB / 0.6877 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.7211, allocations: 37.92 kB / 0.6877 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.7211, allocations: 0 / 0.6877 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007386/0.7285, allocations: 1.941 MB / 0.6896 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.7286, allocations: 59.42 kB / 0.6897 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.7306, allocations: 1.045 MB / 0.6907 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.7307, allocations: 44.7 kB / 0.6907 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/0.7313, allocations: 0.5245 MB / 0.6912 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.7315, allocations: 152.8 kB / 0.6914 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.7316, allocations: 10.97 kB / 0.6914 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7317, allocations: 324 kB / 0.6917 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/0.7327, allocations: 319.2 kB / 0.692 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.7338, allocations: 0.5238 MB / 0.6925 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.7347, allocations: 359.6 kB / 0.6929 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7347, allocations: 5.312 kB / 0.6929 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003964/0.7387, allocations: 1.224 MB / 0.6941 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.7389, allocations: 211.1 kB / 0.6943 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.739, allocations: 3.875 kB / 0.6943 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.7404, allocations: 330.8 kB / 0.6946 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.741, allocations: 131.1 kB / 0.6947 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.7429, allocations: 0.9343 MB / 0.6956 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.7446, allocations: 195.9 kB / 0.6958 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.7448, allocations: 28.89 kB / 0.6958 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7448, allocations: 3.188 kB / 0.6958 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003593/0.7484, allocations: 1.072 MB / 0.6969 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7484, allocations: 5.094 kB / 0.6969 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.7496, allocations: 327.8 kB / 0.6972 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.7501, allocations: 125.9 kB / 0.6973 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.7517, allocations: 0.9413 MB / 0.6982 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.7532, allocations: 163.9 kB / 0.6984 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.7533, allocations: 35.52 kB / 0.6984 GB, free: 14.56 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008227/0.7542, allocations: 348.7 kB / 0.6988 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.7545, allocations: 115 kB / 0.6989 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.757, allocations: 0.9785 MB / 0.6998 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.7571, allocations: 8.766 kB / 0.6998 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7571, allocations: 1.125 kB / 0.6998 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7571, allocations: 0 / 0.6998 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005526/0.7626, allocations: 2.261 MB / 0.702 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.7627, allocations: 6.234 kB / 0.702 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.763, allocations: 65.67 kB / 0.7021 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.764, allocations: 324.2 kB / 0.7024 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.7641, allocations: 17.77 kB / 0.7024 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.7655, allocations: 0.9613 MB / 0.7034 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.7655, allocations: 3.844 kB / 0.7034 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003562/0.7691, allocations: 1.257 MB / 0.7046 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007146/0.7698, allocations: 285.2 kB / 0.7049 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.77, allocations: 8.781 kB / 0.7049 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008996/0.7709, allocations: 123.6 kB / 0.705 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.7711, allocations: 39.34 kB / 0.705 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.7711, allocations: 23.45 kB / 0.7051 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00132/0.7725, allocations: 0.7372 MB / 0.7058 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7725, allocations: 0 / 0.7058 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001871/0.7744, allocations: 0.5533 MB / 0.7063 GB, free: 9.719 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004442/0.7788, allocations: 2.062 MB / 0.7083 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003436/0.7823, allocations: 1.161 MB / 0.7095 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.7823, allocations: 3.938 kB / 0.7095 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009805/0.7833, allocations: 364.1 kB / 0.7098 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/0.7873, allocations: 0.4993 MB / 0.7103 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.8077, allocations: 6.866 MB / 0.717 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.8086, allocations: 1.065 MB / 0.718 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00149/0.8101, allocations: 229.2 kB / 0.7183 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006621/0.8108, allocations: 403.3 kB / 0.7187 GB, free: 14.63 MB / 0.545 GB Notification: Performance of SimCode: time 1.563e-06/0.8108, allocations: 0 / 0.7187 GB, free: 14.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/0.8821, allocations: 33.44 MB / 0.7513 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/0.8824, allocations: 254.2 kB / 0.7515 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/3.944, allocations: 0 / 0.7515 GB, free: 13.37 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: