Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.405/2.405, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 179.9 kB / 0.4901 GB, free: 2.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 223.1 MB / 0.7992 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 104.1 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004462, allocations: 17.34 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3131, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.537, allocations: 431.7 MB / 1.651 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.537, allocations: 97.84 kB / 1.651 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.01/3.547, allocations: 0.6395 GB / 2.29 GB, free: 12.27 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.024e-06/3.547, allocations: 0 / 2.29 GB, free: 12.27 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001458/3.547, allocations: 47.98 kB / 2.29 GB, free: 12.23 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003946/3.551, allocations: 2.082 MB / 2.292 GB, free: 10.08 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/3.551, allocations: 8.031 kB / 2.292 GB, free: 10.07 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/3.552, allocations: 151.7 kB / 2.293 GB, free: 9.914 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/3.555, allocations: 0.5754 MB / 2.293 GB, free: 9.336 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/3.558, allocations: 1.672 MB / 2.295 GB, free: 7.613 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/3.558, allocations: 149.4 kB / 2.295 GB, free: 7.453 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/3.558, allocations: 108 kB / 2.295 GB, free: 7.348 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/3.561, allocations: 1.342 MB / 2.296 GB, free: 5.973 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/3.561, allocations: 11.89 kB / 2.296 GB, free: 5.961 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/3.561, allocations: 40 kB / 2.296 GB, free: 5.922 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/3.561, allocations: 24 kB / 2.296 GB, free: 5.898 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/3.564, allocations: 1.394 MB / 2.298 GB, free: 4.5 MB / 1.167 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.7066/4.271, allocations: 5.505 MB / 2.303 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007024/4.278, allocations: 1.367 MB / 2.305 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/4.279, allocations: 1.158 MB / 2.306 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/4.281, allocations: 0.7139 MB / 2.306 GB, free: 233.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 3.898e-06/4.281, allocations: 1.125 kB / 2.306 GB, free: 233.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.02947/4.311, allocations: 4.309 MB / 2.311 GB, free: 233.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/4.311, allocations: 60.06 kB / 2.311 GB, free: 233.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/4.314, allocations: 1.161 MB / 2.312 GB, free: 233.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003847/4.314, allocations: 40.7 kB / 2.312 GB, free: 233.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/4.315, allocations: 0.6756 MB / 2.312 GB, free: 233.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/4.316, allocations: 229.4 kB / 2.313 GB, free: 233.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/4.316, allocations: 13.56 kB / 2.313 GB, free: 233.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001332/4.316, allocations: 336.6 kB / 2.313 GB, free: 233 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/4.318, allocations: 0.5522 MB / 2.314 GB, free: 233 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/4.32, allocations: 0.8155 MB / 2.314 GB, free: 232.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/4.321, allocations: 0.5881 MB / 2.315 GB, free: 232.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/4.321, allocations: 0.75 kB / 2.315 GB, free: 232.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.01388/4.335, allocations: 2.354 MB / 2.317 GB, free: 232.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003856/4.336, allocations: 1.195 MB / 2.318 GB, free: 231.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/4.336, allocations: 3.344 kB / 2.318 GB, free: 231.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/4.338, allocations: 0.7283 MB / 2.319 GB, free: 231.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/4.339, allocations: 186.3 kB / 2.319 GB, free: 231.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/4.361, allocations: 4.834 MB / 2.324 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/4.364, allocations: 232.9 kB / 2.324 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/4.364, allocations: 49.78 kB / 2.324 GB, free: 229.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/4.364, allocations: 9.453 kB / 2.324 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01255/4.376, allocations: 2.192 MB / 2.326 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/4.376, allocations: 9.516 kB / 2.326 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/4.379, allocations: 0.7156 MB / 2.327 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/4.381, allocations: 187.4 kB / 2.327 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/4.402, allocations: 4.836 MB / 2.332 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/4.404, allocations: 222.1 kB / 2.332 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/4.404, allocations: 45.14 kB / 2.332 GB, free: 228.6 MB / 1.167 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 (80): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001167/4.406, allocations: 412.5 kB / 2.333 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003817/4.406, allocations: 154.4 kB / 2.333 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/4.418, allocations: 2.418 MB / 2.335 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/4.418, allocations: 9.875 kB / 2.335 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/4.418, allocations: 0 / 2.335 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01098/4.429, allocations: 2.233 MB / 2.337 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/4.445, allocations: 4.342 MB / 2.342 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/4.445, allocations: 3.688 kB / 2.342 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/4.446, allocations: 161.6 kB / 2.342 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/4.448, allocations: 0.7218 MB / 2.342 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/4.448, allocations: 30.56 kB / 2.342 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/4.469, allocations: 4.818 MB / 2.347 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/4.469, allocations: 7.281 kB / 2.347 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/4.483, allocations: 3.6 MB / 2.351 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/4.485, allocations: 496.7 kB / 2.351 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/4.485, allocations: 18.78 kB / 2.351 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/4.486, allocations: 171.6 kB / 2.351 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/4.487, allocations: 80.44 kB / 2.351 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/4.487, allocations: 47.47 kB / 2.351 GB, free: 224.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001432/4.488, allocations: 0.9297 MB / 2.352 GB, free: 224.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.488, allocations: 0 / 2.352 GB, free: 224.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003749/4.492, allocations: 0.9598 MB / 2.353 GB, free: 224.8 MB / 1.167 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 (66): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01795/4.51, allocations: 5.957 MB / 2.359 GB, free: 222.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01125/4.521, allocations: 2.81 MB / 2.362 GB, free: 221.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/4.521, allocations: 3.281 kB / 2.362 GB, free: 221.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004321/4.526, allocations: 1.098 MB / 2.363 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/4.53, allocations: 0.7468 MB / 2.364 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/4.56, allocations: 12.67 MB / 2.376 GB, free: 216.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/4.561, allocations: 1.275 MB / 2.377 GB, free: 216.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002027/4.563, allocations: 354.4 kB / 2.378 GB, free: 216.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/4.564, allocations: 0.5836 MB / 2.378 GB, free: 216.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.663e-06/4.564, allocations: 3 kB / 2.378 GB, free: 216.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/4.671, allocations: 60.43 MB / 2.437 GB, free: 213 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/4.671, allocations: 250 kB / 2.437 GB, free: 212.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.371/9.043, allocations: 0 / 2.437 GB, free: 212.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat does not exist to compare? outputFormat=mat