Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.0009464, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4817/0.4817, allocations: 90.91 MB / 99.34 MB, free: 2.148 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 91.34 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.47e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9567/1.089, allocations: 386 MB / 0.9305 GB, free: 94.57 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.089, allocations: 89.89 kB / 0.9306 GB, free: 94.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.292/3.381, allocations: 0.6464 GB / 1.577 GB, free: 93.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.303e-06/3.381, allocations: 0 / 1.577 GB, free: 93.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001038/3.381, allocations: 35.41 kB / 1.577 GB, free: 93.06 MB / 0.6042 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.002566/3.384, allocations: 1.484 MB / 1.579 GB, free: 92.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/3.384, allocations: 12.62 kB / 1.579 GB, free: 92.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/3.386, allocations: 447.8 kB / 1.579 GB, free: 92.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/3.388, allocations: 1.297 MB / 1.58 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/3.389, allocations: 96.78 kB / 1.58 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/3.389, allocations: 51.56 kB / 1.58 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000971/3.39, allocations: 0.6218 MB / 1.581 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/3.391, allocations: 0.7608 MB / 1.582 GB, free: 91.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/3.391, allocations: 3.188 kB / 1.582 GB, free: 91.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/3.391, allocations: 0 / 1.582 GB, free: 91.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/3.391, allocations: 36.47 kB / 1.582 GB, free: 91.72 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004744/3.396, allocations: 4.534 MB / 1.586 GB, free: 89.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/3.398, allocations: 0.6638 MB / 1.587 GB, free: 89.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/3.398, allocations: 201.8 kB / 1.587 GB, free: 89.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/3.399, allocations: 0.9079 MB / 1.588 GB, free: 88.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/3.399, allocations: 40.44 kB / 1.588 GB, free: 88.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/3.399, allocations: 0 / 1.588 GB, free: 88.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002507/3.401, allocations: 0.7579 MB / 1.589 GB, free: 88.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/3.401, allocations: 55.22 kB / 1.589 GB, free: 88.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/3.402, allocations: 0.7428 MB / 1.59 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/3.402, allocations: 33.09 kB / 1.59 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/3.402, allocations: 0.5432 MB / 1.59 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/3.402, allocations: 139.6 kB / 1.59 GB, free: 87.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/3.403, allocations: 0 / 1.59 GB, free: 87.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/3.403, allocations: 325.9 kB / 1.591 GB, free: 87.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/3.403, allocations: 171.7 kB / 1.591 GB, free: 87.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/3.403, allocations: 412.7 kB / 1.591 GB, free: 86.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/3.404, allocations: 261.5 kB / 1.591 GB, free: 86.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/3.404, allocations: 0 / 1.591 GB, free: 86.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001328/3.405, allocations: 0.6945 MB / 1.592 GB, free: 86.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/3.406, allocations: 1.668 MB / 1.594 GB, free: 85.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/3.406, allocations: 6.797 kB / 1.594 GB, free: 85.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/3.406, allocations: 234.5 kB / 1.594 GB, free: 85.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/3.407, allocations: 126.3 kB / 1.594 GB, free: 85.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000909/3.408, allocations: 0.8745 MB / 1.595 GB, free: 84.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/3.409, allocations: 161.4 kB / 1.595 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/3.409, allocations: 33.19 kB / 1.595 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/3.409, allocations: 7.219 kB / 1.595 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001142/3.41, allocations: 0.5621 MB / 1.596 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/3.41, allocations: 2.969 kB / 1.596 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/3.411, allocations: 230.5 kB / 1.596 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/3.411, allocations: 117.6 kB / 1.596 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007761/3.412, allocations: 0.8643 MB / 1.597 GB, free: 83.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/3.413, allocations: 141.8 kB / 1.597 GB, free: 83.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/3.413, allocations: 32 kB / 1.597 GB, free: 83.96 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001839/3.413, allocations: 122 kB / 1.597 GB, free: 83.86 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002452/3.416, allocations: 0.7526 MB / 1.598 GB, free: 83.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/3.416, allocations: 92.69 kB / 1.598 GB, free: 83.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/3.417, allocations: 0.7134 MB / 1.599 GB, free: 83.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/3.417, allocations: 8.797 kB / 1.599 GB, free: 83.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/3.417, allocations: 0 / 1.599 GB, free: 83.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/3.417, allocations: 3.703 kB / 1.599 GB, free: 83.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/3.421, allocations: 1.864 MB / 1.6 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/3.421, allocations: 6.219 kB / 1.6 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/3.422, allocations: 62.61 kB / 1.6 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/3.422, allocations: 246.6 kB / 1.601 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/3.422, allocations: 7.047 kB / 1.601 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008159/3.423, allocations: 0.8957 MB / 1.602 GB, free: 82.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/3.423, allocations: 3.719 kB / 1.602 GB, free: 82.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/3.425, allocations: 1.082 MB / 1.603 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/3.426, allocations: 268.9 kB / 1.603 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/3.426, allocations: 2.281 kB / 1.603 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008041/3.427, allocations: 98.34 kB / 1.603 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/3.427, allocations: 42.53 kB / 1.603 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/3.427, allocations: 22.58 kB / 1.603 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007053/3.428, allocations: 0.5687 MB / 1.604 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/3.428, allocations: 0 / 1.604 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0016/3.429, allocations: 0.6157 MB / 1.604 GB, free: 81.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003567/3.433, allocations: 2.749 MB / 1.607 GB, free: 80.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001335/3.434, allocations: 0.8011 MB / 1.608 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/3.434, allocations: 0 / 1.608 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/3.435, allocations: 261.9 kB / 1.608 GB, free: 80.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/3.436, allocations: 384.2 kB / 1.608 GB, free: 80.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/3.441, allocations: 1.777 MB / 1.61 GB, free: 79.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/3.441, allocations: 1.084 MB / 1.611 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001083/3.442, allocations: 243.6 kB / 1.611 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/3.443, allocations: 385.6 kB / 1.612 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of SimCode: time 9.81e-07/3.443, allocations: 0 / 1.612 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/3.505, allocations: 32.14 MB / 1.643 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/3.505, allocations: 163.2 kB / 1.643 GB, free: 68.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/6.51, allocations: 0 / 1.643 GB, free: 68.96 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)