Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",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.001021/0.00102, allocations: 86.8 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.001213/0.001213, 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.442/1.442, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.612/2.612, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003502, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7817, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06778/0.8495, allocations: 69.43 MB / 1.049 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.8686, allocations: 11.94 MB / 1.061 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.8715, allocations: 55.62 kB / 1.061 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.874, allocations: 0.5705 MB / 1.061 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.8807, allocations: 1.895 MB / 1.063 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.8841, allocations: 0.97 MB / 1.064 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006913/0.891, allocations: 4.801 MB / 1.069 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.8937, allocations: 1.017 MB / 1.07 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/0.8975, allocations: 1.26 MB / 1.071 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.9007, allocations: 1.062 MB / 1.072 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004904/0.9013, allocations: 60 kB / 1.072 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.9046, allocations: 0.9237 MB / 1.073 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.9053, allocations: 266.8 kB / 1.073 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009785/0.9063, allocations: 356.9 kB / 1.074 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.9098, allocations: 2.077 MB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.9098, allocations: 0 / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9099, allocations: 0 / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.255e-05/0.9099, allocations: 0 / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004629/0.9146, allocations: 1.799 MB / 1.077 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9146, allocations: 8.031 kB / 1.077 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003879/0.915, allocations: 151.9 kB / 1.077 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.916, allocations: 237.9 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003831/0.9199, allocations: 1.439 MB / 1.079 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.92, allocations: 77.98 kB / 1.079 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.9203, allocations: 100 kB / 1.079 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.9229, allocations: 1.12 MB / 1.08 GB, free: 244 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.9229, allocations: 3.953 kB / 1.08 GB, free: 240 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.847e-05/0.923, allocations: 40 kB / 1.08 GB, free: 200 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.9231, allocations: 28 kB / 1.08 GB, free: 172 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.9252, allocations: 0.9134 MB / 1.081 GB, free: 15.26 MB / 0.8419 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.007067/0.9323, allocations: 4.923 MB / 1.086 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.9336, allocations: 0.629 MB / 1.087 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.9343, allocations: 370.3 kB / 1.087 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.935, allocations: 0.8238 MB / 1.088 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.935, allocations: 47.11 kB / 1.088 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 2.444e-06/0.9351, allocations: 3.938 kB / 1.088 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.006724/0.9418, allocations: 1.873 MB / 1.09 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.9419, allocations: 59.97 kB / 1.09 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.944, allocations: 1.198 MB / 1.091 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.9441, allocations: 41.7 kB / 1.091 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/0.9447, allocations: 0.6064 MB / 1.092 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.945, allocations: 212.9 kB / 1.092 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.945, allocations: 15.94 kB / 1.092 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9452, allocations: 337.9 kB / 1.092 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.9458, allocations: 293.8 kB / 1.092 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.9467, allocations: 0.5038 MB / 1.093 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.9475, allocations: 359 kB / 1.093 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9475, allocations: 0 / 1.093 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004504/0.952, allocations: 1.394 MB / 1.095 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.9522, allocations: 203.6 kB / 1.095 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9522, allocations: 4 kB / 1.095 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.9529, allocations: 148.7 kB / 1.095 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.9535, allocations: 163.8 kB / 1.095 GB, free: 400 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009022/0.9544, allocations: 0.7006 MB / 1.096 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.9558, allocations: 168.5 kB / 1.096 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.9559, allocations: 31.98 kB / 1.096 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.9559, allocations: 4 kB / 1.096 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004074/0.96, allocations: 1.25 MB / 1.097 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.96, allocations: 4 kB / 1.097 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.9605, allocations: 148.8 kB / 1.097 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.9611, allocations: 167.7 kB / 1.098 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008048/0.962, allocations: 0.7045 MB / 1.098 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.9633, allocations: 159.2 kB / 1.098 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.9634, allocations: 35.98 kB / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008944/0.9643, allocations: 420.8 kB / 1.099 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.9647, allocations: 134.4 kB / 1.099 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.9691, allocations: 1.396 MB / 1.1 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.9692, allocations: 8 kB / 1.1 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.9692, allocations: 0 / 1.1 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003776/0.973, allocations: 1.232 MB / 1.102 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/0.98, allocations: 2.731 MB / 1.104 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.98, allocations: 8.031 kB / 1.104 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.9805, allocations: 127.9 kB / 1.104 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.9811, allocations: 136.6 kB / 1.104 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.9812, allocations: 31.98 kB / 1.104 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/0.9863, allocations: 2.423 MB / 1.107 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.9864, allocations: 4 kB / 1.107 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/0.9919, allocations: 1.852 MB / 1.109 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.993, allocations: 323.1 kB / 1.109 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/0.9935, allocations: 27.94 kB / 1.109 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.9947, allocations: 91.81 kB / 1.109 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.9948, allocations: 60.31 kB / 1.109 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/0.9949, allocations: 27.98 kB / 1.109 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001753/0.9967, allocations: 0.862 MB / 1.11 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9967, allocations: 0 / 1.11 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003159/0.9999, allocations: 0.7097 MB / 1.111 GB, free: 15.98 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006612/1.007, allocations: 2.713 MB / 1.113 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002805/1.009, allocations: 1.16 MB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.009, allocations: 0 / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/1.011, allocations: 0.5956 MB / 1.115 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/1.015, allocations: 0.7474 MB / 1.116 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.037, allocations: 8.339 MB / 1.124 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.039, allocations: 1.172 MB / 1.125 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001749/1.04, allocations: 303 kB / 1.125 GB, free: 472 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/1.041, allocations: 0.5071 MB / 1.126 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of SimCode: time 1.393e-06/1.041, allocations: 0 / 1.126 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07756/1.119, allocations: 41.97 MB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.119, allocations: 246.5 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/4.063, allocations: 0 / 1.167 GB, free: 6.184 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat