Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_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.001479/0.001479, allocations: 99.78 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.002567/0.002567, 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 2.614/2.614, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.852/4.852, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.004955/0.004955, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362/1.367, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.08333/1.45, allocations: 51.31 MB / 1.031 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02368/1.474, allocations: 10.32 MB / 1.041 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005277/1.48, allocations: 47.69 kB / 1.041 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004797/1.484, allocations: 0.6296 MB / 1.042 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/1.496, allocations: 1.946 MB / 1.044 GB, free: 5.898 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009017/1.505, allocations: 1.302 MB / 1.045 GB, free: 4.617 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008727/1.514, allocations: 1.851 MB / 1.047 GB, free: 2.766 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/1.518, allocations: 0.8057 MB / 1.047 GB, free: 1.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/1.522, allocations: 0.9886 MB / 1.048 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/1.525, allocations: 0.5988 MB / 1.049 GB, free: 348 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005776/1.526, allocations: 40 kB / 1.049 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005239/1.531, allocations: 0.9907 MB / 1.05 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008108/1.532, allocations: 199.1 kB / 1.05 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/1.533, allocations: 281 kB / 1.05 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005319/1.539, allocations: 1.574 MB / 1.052 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/1.539, allocations: 4 kB / 1.052 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.659e-06/1.539, allocations: 7.938 kB / 1.052 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001062/1.539, allocations: 0 / 1.052 GB, free: 13.24 MB / 0.8106 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.006268/1.545, allocations: 1.481 MB / 1.053 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.077e-05/1.545, allocations: 12.03 kB / 1.053 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004927/1.546, allocations: 122.7 kB / 1.054 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/1.549, allocations: 469.9 kB / 1.054 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/1.553, allocations: 1.047 MB / 1.055 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005503/1.553, allocations: 129.9 kB / 1.055 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/1.553, allocations: 83.95 kB / 1.055 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/1.557, allocations: 0.9973 MB / 1.056 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/1.557, allocations: 3.938 kB / 1.056 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.557, allocations: 32 kB / 1.056 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/1.557, allocations: 24 kB / 1.056 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/1.561, allocations: 0.8939 MB / 1.057 GB, free: 7.797 MB / 0.8106 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.01286/1.574, allocations: 4.917 MB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/1.58, allocations: 0.9174 MB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.581, allocations: 0.9024 MB / 1.064 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/1.581, allocations: 46.56 kB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 5.22e-06/1.581, allocations: 0 / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.01238/1.593, allocations: 1.931 MB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/1.594, allocations: 63.41 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/1.597, allocations: 1.063 MB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/1.597, allocations: 33.7 kB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/1.598, allocations: 0.5312 MB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/1.598, allocations: 153.8 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/1.598, allocations: 12 kB / 1.068 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002096/1.598, allocations: 322 kB / 1.068 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.6, allocations: 320.9 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/1.602, allocations: 0.5219 MB / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/1.603, allocations: 349.4 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.603, allocations: 3.938 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.006268/1.609, allocations: 1.212 MB / 1.07 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.00101/1.61, allocations: 1.667 MB / 1.072 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/1.61, allocations: 7.953 kB / 1.072 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/1.612, allocations: 334 kB / 1.072 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/1.613, allocations: 123.8 kB / 1.072 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/1.616, allocations: 0.9426 MB / 1.073 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/1.618, allocations: 191.2 kB / 1.073 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.618, allocations: 27.98 kB / 1.073 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.618, allocations: 4 kB / 1.073 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005495/1.624, allocations: 1.066 MB / 1.074 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.624, allocations: 4 kB / 1.074 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/1.626, allocations: 326.2 kB / 1.075 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/1.627, allocations: 127.8 kB / 1.075 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/1.629, allocations: 0.9442 MB / 1.076 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.632, allocations: 167.4 kB / 1.076 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.632, allocations: 27.98 kB / 1.076 GB, free: 3.66 MB / 0.8262 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.001041/1.633, allocations: 357.6 kB / 1.076 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/1.633, allocations: 110.6 kB / 1.076 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/1.637, allocations: 0.9807 MB / 1.077 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.637, allocations: 4 kB / 1.077 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.637, allocations: 4 kB / 1.077 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.637, allocations: 7.984 kB / 1.077 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008766/1.646, allocations: 2.257 MB / 1.08 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/1.646, allocations: 11.83 kB / 1.08 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/1.647, allocations: 76.17 kB / 1.08 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/1.649, allocations: 321.5 kB / 1.08 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/1.649, allocations: 15.98 kB / 1.08 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/1.651, allocations: 0.9721 MB / 1.081 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.652, allocations: 0 / 1.081 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/1.658, allocations: 1.368 MB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.659, allocations: 291.4 kB / 1.083 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/1.66, allocations: 8 kB / 1.083 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.661, allocations: 115.8 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.661, allocations: 35.89 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.662, allocations: 35.94 kB / 1.083 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00232/1.664, allocations: 0.7469 MB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8.11e-07/1.664, allocations: 0 / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003237/1.667, allocations: 0.5536 MB / 1.084 GB, free: 11.16 MB / 0.8419 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.007545/1.675, allocations: 2.793 MB / 1.087 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005052/1.68, allocations: 1.164 MB / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.68, allocations: 0 / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/1.681, allocations: 370.5 kB / 1.088 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/1.685, allocations: 497.8 kB / 1.089 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.698, allocations: 6.077 MB / 1.095 GB, free: 28 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.7, allocations: 1.089 MB / 1.096 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002085/1.702, allocations: 216.6 kB / 1.096 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.703, allocations: 407.3 kB / 1.096 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of SimCode: time 3.497e-06/1.703, allocations: 0 / 1.096 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/1.853, allocations: 32.86 MB / 1.128 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003965/1.853, allocations: 243.7 kB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.072/6.925, allocations: 0 / 1.129 GB, free: 13.57 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat does not exist to compare? outputFormat=mat