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.0009365/0.0009365, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.00115/0.00115, allocations: 168.7 kB / 15.95 MB, free: 204 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.398/1.398, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.578/2.578, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 8 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6834, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.0529/0.7364, allocations: 56.51 MB / 1.036 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.7532, allocations: 11.21 MB / 1.047 GB, free: 2.379 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.7552, allocations: 55.62 kB / 1.047 GB, free: 2.324 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.7569, allocations: 464.9 kB / 1.048 GB, free: 1.867 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.7618, allocations: 1.534 MB / 1.049 GB, free: 336 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.7645, allocations: 0.8593 MB / 1.05 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004532/0.769, allocations: 3.382 MB / 1.053 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.7705, allocations: 0.7899 MB / 1.054 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.7728, allocations: 1.038 MB / 1.055 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.7741, allocations: 0.805 MB / 1.056 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.7743, allocations: 44 kB / 1.056 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.7772, allocations: 1.095 MB / 1.057 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.7775, allocations: 206.9 kB / 1.057 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.7781, allocations: 277.1 kB / 1.058 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.7808, allocations: 1.637 MB / 1.059 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7808, allocations: 0 / 1.059 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7808, allocations: 8 kB / 1.059 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.7808, allocations: 0 / 1.059 GB, free: 6.148 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.003151/0.784, allocations: 1.489 MB / 1.061 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.784, allocations: 12.03 kB / 1.061 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.7842, allocations: 122.7 kB / 1.061 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.7863, allocations: 473.9 kB / 1.061 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.7884, allocations: 1.09 MB / 1.062 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.7887, allocations: 121.9 kB / 1.062 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.7888, allocations: 87.95 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.7908, allocations: 1.005 MB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7908, allocations: 0 / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.7909, allocations: 32 kB / 1.063 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.791, allocations: 24 kB / 1.063 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.7931, allocations: 0.9016 MB / 1.064 GB, free: 0.6406 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.006458/0.7996, allocations: 4.874 MB / 1.069 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.8027, allocations: 0.9134 MB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.8034, allocations: 323.4 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.8041, allocations: 0.8986 MB / 1.071 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.8041, allocations: 42.56 kB / 1.071 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.8042, allocations: 0 / 1.071 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43): time 0.006763/0.8109, allocations: 1.946 MB / 1.073 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.811, allocations: 59.39 kB / 1.073 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.8127, allocations: 1.044 MB / 1.074 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.666e-05/0.8128, allocations: 37.7 kB / 1.074 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.8133, allocations: 0.5234 MB / 1.075 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.8135, allocations: 161.8 kB / 1.075 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.8135, allocations: 8 kB / 1.075 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8137, allocations: 329.9 kB / 1.075 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/0.8145, allocations: 316.9 kB / 1.076 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009468/0.8154, allocations: 0.5219 MB / 1.076 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.8163, allocations: 349.3 kB / 1.076 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8163, allocations: 4 kB / 1.076 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003473/0.8198, allocations: 1.208 MB / 1.078 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.82, allocations: 214.5 kB / 1.078 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.82, allocations: 4 kB / 1.078 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.8212, allocations: 341.7 kB / 1.078 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.8217, allocations: 127.8 kB / 1.078 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.8231, allocations: 0.9401 MB / 1.079 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.8245, allocations: 187.3 kB / 1.079 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.8246, allocations: 27.98 kB / 1.079 GB, free: 464 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.8246, allocations: 4 kB / 1.079 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003513/0.8281, allocations: 1.07 MB / 1.08 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.8281, allocations: 8.094 kB / 1.08 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.8293, allocations: 320.7 kB / 1.081 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.8298, allocations: 127.8 kB / 1.081 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.8315, allocations: 0.9445 MB / 1.082 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.833, allocations: 172.7 kB / 1.082 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.8331, allocations: 31.98 kB / 1.082 GB, free: 13.76 MB / 0.8419 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.0008727/0.834, allocations: 350.5 kB / 1.082 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.8344, allocations: 110.6 kB / 1.082 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.837, allocations: 0.9807 MB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.837, allocations: 11.98 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.8371, allocations: 3.938 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.8371, allocations: 0 / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005797/0.8429, allocations: 2.254 MB / 1.086 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.8429, allocations: 4.062 kB / 1.086 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.8432, allocations: 67.89 kB / 1.086 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009771/0.8442, allocations: 324.5 kB / 1.086 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.8442, allocations: 27.98 kB / 1.086 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.8458, allocations: 0.9594 MB / 1.087 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8458, allocations: 3.938 kB / 1.087 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.8496, allocations: 1.261 MB / 1.088 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/0.8503, allocations: 283.4 kB / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.8505, allocations: 12 kB / 1.088 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.8515, allocations: 111.9 kB / 1.089 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.8516, allocations: 35.91 kB / 1.089 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.8516, allocations: 23.98 kB / 1.089 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001421/0.8531, allocations: 0.7391 MB / 1.089 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8531, allocations: 0 / 1.089 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001827/0.8549, allocations: 0.5574 MB / 1.09 GB, free: 5.453 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.004577/0.8595, allocations: 2.048 MB / 1.092 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00319/0.8627, allocations: 1.164 MB / 1.093 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.8627, allocations: 0 / 1.093 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/0.8636, allocations: 366.5 kB / 1.093 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.8663, allocations: 499.8 kB / 1.094 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.8835, allocations: 6.875 MB / 1.101 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8846, allocations: 1.065 MB / 1.102 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001145/0.8857, allocations: 220.6 kB / 1.102 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.8864, allocations: 407.3 kB / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of SimCode: time 1.152e-06/0.8864, allocations: 11.94 kB / 1.102 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06651/0.953, allocations: 33.15 MB / 1.135 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/0.9534, allocations: 246.6 kB / 1.135 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.601, allocations: 0 / 1.135 GB, free: 7.414 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