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.0009437/0.0009436, allocations: 99.31 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.0009568/0.0009568, allocations: 177.3 kB / 15.95 MB, free: 216 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003161, allocations: 11.98 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1917, allocations: 83.4 MB / 0.5973 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3808/0.5726, allocations: 51.25 MB / 0.6474 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.5849, allocations: 10.33 MB / 0.6575 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.5866, allocations: 55.81 kB / 0.6575 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.5888, allocations: 0.6257 MB / 0.6581 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.5949, allocations: 1.949 MB / 0.66 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00453/0.5994, allocations: 1.31 MB / 0.6613 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005017/0.6044, allocations: 1.848 MB / 0.6631 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.6061, allocations: 0.8075 MB / 0.6639 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.6088, allocations: 0.9825 MB / 0.6649 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.6105, allocations: 0.6027 MB / 0.6655 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.6107, allocations: 41.84 kB / 0.6655 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.6141, allocations: 0.9925 MB / 0.6665 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.6144, allocations: 190 kB / 0.6667 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.6148, allocations: 287.5 kB / 0.6669 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.6178, allocations: 1.677 MB / 0.6686 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6179, allocations: 0 / 0.6686 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.296e-06/0.6179, allocations: 0 / 0.6686 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.47e-05/0.6179, allocations: 0 / 0.6686 GB, free: 15.9 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.004165/0.6221, allocations: 1.489 MB / 0.67 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6222, allocations: 9.188 kB / 0.67 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/0.6224, allocations: 122.3 kB / 0.6702 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.6248, allocations: 474.1 kB / 0.6706 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.627, allocations: 1.047 MB / 0.6716 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.6274, allocations: 131.5 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.6275, allocations: 79.69 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.6297, allocations: 1.004 MB / 0.6728 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.6297, allocations: 1 kB / 0.6728 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.6298, allocations: 32.06 kB / 0.6728 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.6299, allocations: 18.03 kB / 0.6729 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.6324, allocations: 0.906 MB / 0.6737 GB, free: 13.22 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.007504/0.6399, allocations: 4.922 MB / 0.6785 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/0.6436, allocations: 0.9057 MB / 0.6794 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006681/0.6443, allocations: 0.9014 MB / 0.6803 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.6444, allocations: 42.2 kB / 0.6804 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.524e-06/0.6444, allocations: 0 / 0.6804 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007876/0.6523, allocations: 1.934 MB / 0.6822 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.6523, allocations: 56.69 kB / 0.6823 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.6542, allocations: 1.065 MB / 0.6833 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-05/0.6543, allocations: 33.83 kB / 0.6834 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.6548, allocations: 0.5262 MB / 0.6839 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.655, allocations: 149.3 kB / 0.684 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.655, allocations: 14.88 kB / 0.684 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6552, allocations: 329.5 kB / 0.6844 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.6561, allocations: 319 kB / 0.6847 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.6573, allocations: 0.5219 MB / 0.6852 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/0.6583, allocations: 354.1 kB / 0.6855 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6583, allocations: 1.25 kB / 0.6855 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004129/0.6624, allocations: 1.221 MB / 0.6867 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008417/0.6633, allocations: 1.679 MB / 0.6883 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6633, allocations: 3.625 kB / 0.6883 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.6647, allocations: 332.6 kB / 0.6887 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.6653, allocations: 127.1 kB / 0.6888 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.6668, allocations: 0.9394 MB / 0.6897 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.6685, allocations: 189.4 kB / 0.6899 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.6686, allocations: 33.06 kB / 0.6899 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.6686, allocations: 3.812 kB / 0.6899 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003634/0.6723, allocations: 1.071 MB / 0.691 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6723, allocations: 4.656 kB / 0.691 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.6734, allocations: 326 kB / 0.6913 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.674, allocations: 130.2 kB / 0.6914 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.6756, allocations: 0.9326 MB / 0.6923 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.6771, allocations: 172 kB / 0.6925 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.6772, allocations: 36.53 kB / 0.6925 GB, free: 1.672 MB / 0.5137 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.0006803/0.6779, allocations: 345.1 kB / 0.6928 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.6781, allocations: 115.3 kB / 0.6929 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.6807, allocations: 0.9829 MB / 0.6939 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.6807, allocations: 6.75 kB / 0.6939 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6807, allocations: 0 / 0.6939 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6808, allocations: 2.391 kB / 0.6939 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.6865, allocations: 2.274 MB / 0.6961 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6865, allocations: 2.062 kB / 0.6961 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.6868, allocations: 75.25 kB / 0.6962 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.6879, allocations: 322.8 kB / 0.6965 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.6879, allocations: 14.91 kB / 0.6965 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.6895, allocations: 0.9675 MB / 0.6975 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.6896, allocations: 6.062 kB / 0.6975 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.6935, allocations: 1.366 MB / 0.6988 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/0.6941, allocations: 293.4 kB / 0.6991 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.6943, allocations: 9.688 kB / 0.6991 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009644/0.6953, allocations: 116.5 kB / 0.6992 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.6954, allocations: 34.39 kB / 0.6992 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.6954, allocations: 23.3 kB / 0.6993 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001318/0.6968, allocations: 0.7517 MB / 0.7 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6968, allocations: 0 / 0.7 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001888/0.6987, allocations: 0.5605 MB / 0.7006 GB, free: 13.67 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.005374/0.7041, allocations: 2.803 MB / 0.7033 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.7078, allocations: 1.159 MB / 0.7044 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.7078, allocations: 128 / 0.7044 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.7089, allocations: 377.1 kB / 0.7048 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.7118, allocations: 0.4922 MB / 0.7053 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009718/0.7216, allocations: 6.075 MB / 0.7112 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/0.7226, allocations: 1.084 MB / 0.7123 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001432/0.724, allocations: 228.1 kB / 0.7125 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/0.7246, allocations: 409.2 kB / 0.7129 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/0.7246, allocations: 0 / 0.7129 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/0.7888, allocations: 33.16 MB / 0.7452 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004656/0.7894, allocations: 251.5 kB / 0.7455 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.426, allocations: 3.234 kB / 0.7455 GB, free: 3.227 MB / 0.5606 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: