Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.0009973/0.0009975, allocations: 86.64 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.001191/0.001191, 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.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7346, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0576/0.7923, allocations: 55.78 MB / 1.008 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.8115, allocations: 12.33 MB / 1.02 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.8148, allocations: 63.56 kB / 1.02 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.8175, allocations: 0.7065 MB / 1.021 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006923/0.8244, allocations: 1.822 MB / 1.023 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004757/0.8292, allocations: 1.145 MB / 1.024 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007964/0.8372, allocations: 4.765 MB / 1.029 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.84, allocations: 0.9718 MB / 1.03 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005412/0.8455, allocations: 1.295 MB / 1.031 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.8486, allocations: 1.089 MB / 1.032 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.849, allocations: 60 kB / 1.032 GB, free: 15.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.8533, allocations: 0.9861 MB / 1.033 GB, free: 14.92 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006387/0.8539, allocations: 314.6 kB / 1.033 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009512/0.8549, allocations: 360.8 kB / 1.034 GB, free: 14.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.8591, allocations: 1.937 MB / 1.035 GB, free: 12.31 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8591, allocations: 4 kB / 1.035 GB, free: 12.31 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8591, allocations: 0 / 1.035 GB, free: 12.31 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.505e-05/0.8592, allocations: 0 / 1.035 GB, free: 12.31 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00607/0.8653, allocations: 1.894 MB / 1.037 GB, free: 10.35 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.8653, allocations: 8.031 kB / 1.037 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000321/0.8657, allocations: 147.7 kB / 1.037 GB, free: 10.19 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005913/0.8716, allocations: 0.6379 MB / 1.038 GB, free: 9.547 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.876, allocations: 1.331 MB / 1.039 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.8762, allocations: 137.4 kB / 1.04 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.8765, allocations: 100 kB / 1.04 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00513/0.8817, allocations: 1.338 MB / 1.041 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/0.8817, allocations: 3.906 kB / 1.041 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.8819, allocations: 51.92 kB / 1.041 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/0.882, allocations: 24 kB / 1.041 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006529/0.8885, allocations: 1.37 MB / 1.042 GB, free: 5.102 MB / 0.795 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.01313/0.9017, allocations: 5.37 MB / 1.048 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00977/0.9115, allocations: 1.483 MB / 1.049 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.9146, allocations: 0.6154 MB / 1.05 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.9162, allocations: 1.236 MB / 1.051 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003263/0.9195, allocations: 0.6862 MB / 1.052 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.958e-06/0.9195, allocations: 0 / 1.052 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.009058/0.9286, allocations: 1.777 MB / 1.053 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.9287, allocations: 59.97 kB / 1.053 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.9318, allocations: 1.255 MB / 1.055 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.932, allocations: 45.7 kB / 1.055 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.933, allocations: 0.6541 MB / 1.055 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004414/0.9335, allocations: 236.6 kB / 1.055 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.9336, allocations: 16 kB / 1.055 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.9338, allocations: 330 kB / 1.056 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.9367, allocations: 0.5446 MB / 1.056 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/0.94, allocations: 0.7664 MB / 1.057 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002912/0.9429, allocations: 0.5902 MB / 1.058 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.9429, allocations: 4 kB / 1.058 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.006948/0.9499, allocations: 1.454 MB / 1.059 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.9502, allocations: 207.3 kB / 1.059 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.9502, allocations: 8 kB / 1.059 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.9502, allocations: 8 kB / 1.059 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.9526, allocations: 267.6 kB / 1.06 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.791e-05/0.9527, allocations: 12 kB / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.9562, allocations: 242.9 kB / 1.06 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.9565, allocations: 39.98 kB / 1.06 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.9565, allocations: 1.406 kB / 1.06 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006066/0.9626, allocations: 1.305 MB / 1.061 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9626, allocations: 7.938 kB / 1.061 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9627, allocations: 8 kB / 1.061 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.9647, allocations: 267.9 kB / 1.061 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.9647, allocations: 7.938 kB / 1.061 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.9674, allocations: 235.1 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.9676, allocations: 39.98 kB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.9687, allocations: 404.9 kB / 1.062 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/0.9691, allocations: 150.3 kB / 1.062 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/0.9758, allocations: 1.516 MB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.9758, allocations: 8 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9758, allocations: 0 / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005142/0.981, allocations: 1.289 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007417/0.9884, allocations: 3.249 MB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.9884, allocations: 12.03 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.9895, allocations: 231.7 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.9895, allocations: 12 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.9896, allocations: 27.97 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.9896, allocations: 15.89 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9896, allocations: 4 kB / 1.068 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/0.9947, allocations: 2.298 MB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007801/0.9955, allocations: 366.8 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.9957, allocations: 20 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.9969, allocations: 183.7 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.9971, allocations: 72.36 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/0.9972, allocations: 39.97 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001359/0.9986, allocations: 0.897 MB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9986, allocations: 0 / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002021/1.001, allocations: 0.7797 MB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006192/1.007, allocations: 3.225 MB / 1.076 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005156/1.012, allocations: 2.066 MB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.012, allocations: 3.938 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.014, allocations: 0.7147 MB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.018, allocations: 0.7445 MB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/1.037, allocations: 9.614 MB / 1.089 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/1.038, allocations: 1.226 MB / 1.09 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001896/1.04, allocations: 367.3 kB / 1.09 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008456/1.041, allocations: 0.5657 MB / 1.091 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of SimCode: time 8.92e-07/1.041, allocations: 8 kB / 1.091 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07221/1.113, allocations: 42.28 MB / 1.132 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.113, allocations: 224 kB / 1.133 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/4.055, allocations: 3.938 kB / 1.133 GB, free: 7.539 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat does not exist to compare? outputFormat=mat