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.001303/0.001303, allocations: 102.8 kB / 15.06 MB, free: 1.098 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.001802/0.001802, allocations: 173.3 kB / 15.95 MB, free: 212 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.618/2.618, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.592/4.592, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006245/0.0006247, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391/1.391, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.1156/1.507, allocations: 62.96 MB / 1.042 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03311/1.54, allocations: 11 MB / 1.053 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004944/1.545, allocations: 55.62 kB / 1.053 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005173/1.551, allocations: 0.7423 MB / 1.054 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01565/1.566, allocations: 2.309 MB / 1.056 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009189/1.575, allocations: 1.521 MB / 1.058 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0103/1.586, allocations: 2.523 MB / 1.06 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004743/1.591, allocations: 1.029 MB / 1.061 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/1.597, allocations: 1.148 MB / 1.062 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/1.601, allocations: 0.7777 MB / 1.063 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000766/1.602, allocations: 56 kB / 1.063 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/1.609, allocations: 0.8347 MB / 1.064 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/1.61, allocations: 262.9 kB / 1.064 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002084/1.612, allocations: 360.9 kB / 1.064 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007088/1.619, allocations: 2.015 MB / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.619, allocations: 0 / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.799e-06/1.619, allocations: 0 / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000117/1.619, allocations: 4 kB / 1.066 GB, free: 14.48 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.008343/1.628, allocations: 1.779 MB / 1.068 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 8.392e-05/1.628, allocations: 12.03 kB / 1.068 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008346/1.629, allocations: 151.9 kB / 1.068 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/1.631, allocations: 241.9 kB / 1.069 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/1.636, allocations: 1.369 MB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/1.636, allocations: 74 kB / 1.07 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/1.637, allocations: 104 kB / 1.07 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/1.641, allocations: 1.104 MB / 1.071 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.729e-05/1.641, allocations: 7.953 kB / 1.071 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/1.641, allocations: 43.94 kB / 1.071 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.586e-05/1.642, allocations: 24 kB / 1.071 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/1.646, allocations: 0.929 MB / 1.072 GB, free: 8.492 MB / 0.8262 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.01243/1.658, allocations: 4.942 MB / 1.077 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/1.66, allocations: 0.6354 MB / 1.078 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.661, allocations: 0.8238 MB / 1.078 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.744e-05/1.662, allocations: 43.12 kB / 1.078 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 4.99e-06/1.662, allocations: 4 kB / 1.078 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.01328/1.675, allocations: 1.873 MB / 1.08 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/1.675, allocations: 63.95 kB / 1.08 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/1.679, allocations: 1.245 MB / 1.081 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002955/1.679, allocations: 45.7 kB / 1.082 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.68, allocations: 0.6026 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/1.681, allocations: 216.9 kB / 1.082 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/1.681, allocations: 12 kB / 1.082 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002021/1.681, allocations: 334 kB / 1.083 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.682, allocations: 297.8 kB / 1.083 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/1.684, allocations: 0.4998 MB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/1.685, allocations: 367 kB / 1.084 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.685, allocations: 0 / 1.084 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009182/1.694, allocations: 1.39 MB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/1.696, allocations: 1.423 MB / 1.087 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/1.696, allocations: 4 kB / 1.087 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/1.697, allocations: 144.7 kB / 1.087 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.698, allocations: 171.8 kB / 1.087 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/1.7, allocations: 0.7083 MB / 1.088 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/1.702, allocations: 168.4 kB / 1.088 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.703, allocations: 31.98 kB / 1.088 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.703, allocations: 4 kB / 1.088 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008669/1.711, allocations: 1.245 MB / 1.089 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/1.711, allocations: 7.938 kB / 1.089 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.713, allocations: 145.1 kB / 1.089 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.714, allocations: 159.8 kB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/1.715, allocations: 0.7123 MB / 1.09 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/1.718, allocations: 167 kB / 1.09 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/1.718, allocations: 31.98 kB / 1.09 GB, free: 5.223 MB / 0.8419 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.001359/1.72, allocations: 425.1 kB / 1.091 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00064/1.72, allocations: 130.4 kB / 1.091 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008772/1.729, allocations: 1.396 MB / 1.092 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/1.729, allocations: 15.92 kB / 1.092 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.729, allocations: 0 / 1.092 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007517/1.737, allocations: 1.224 MB / 1.093 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.748, allocations: 2.754 MB / 1.096 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/1.748, allocations: 4 kB / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/1.749, allocations: 124.2 kB / 1.096 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008813/1.75, allocations: 140.7 kB / 1.096 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.75, allocations: 16 kB / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008867/1.759, allocations: 2.521 MB / 1.099 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.759, allocations: 4 kB / 1.099 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.77, allocations: 2.046 MB / 1.101 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.772, allocations: 351.1 kB / 1.101 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000657/1.773, allocations: 16 kB / 1.101 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/1.775, allocations: 95.83 kB / 1.101 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/1.775, allocations: 60.3 kB / 1.101 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.775, allocations: 27.98 kB / 1.101 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003101/1.778, allocations: 0.8972 MB / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.345e-06/1.778, allocations: 0 / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004555/1.783, allocations: 0.7252 MB / 1.103 GB, free: 7.715 MB / 0.8575 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.01306/1.796, allocations: 3.859 MB / 1.107 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004972/1.801, allocations: 1.16 MB / 1.108 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-05/1.801, allocations: 4 kB / 1.108 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/1.804, allocations: 0.5878 MB / 1.108 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00739/1.811, allocations: 0.7444 MB / 1.109 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.824, allocations: 5.936 MB / 1.115 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/1.827, allocations: 1.207 MB / 1.116 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002871/1.83, allocations: 311 kB / 1.116 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.831, allocations: 0.4993 MB / 1.117 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of SimCode: time 1.924e-06/1.831, allocations: 0 / 1.117 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1781/2.009, allocations: 41.87 MB / 1.158 GB, free: 15.75 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004623/2.01, allocations: 238.1 kB / 1.158 GB, free: 15.47 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.535/7.545, allocations: 0 / 1.158 GB, free: 15.47 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