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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 84.38 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.001204/0.001204, 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.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.609/2.609, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003845, allocations: 12 kB / 0.8378 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7973, allocations: 146.8 MB / 0.9811 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05514/0.8525, allocations: 55.91 MB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.8716, allocations: 12.35 MB / 1.048 GB, free: 1.867 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.8759, allocations: 63.56 kB / 1.048 GB, free: 1.805 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.8789, allocations: 0.7143 MB / 1.049 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006997/0.8859, allocations: 1.829 MB / 1.05 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.89, allocations: 1.171 MB / 1.051 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007149/0.8972, allocations: 4.787 MB / 1.056 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/0.8997, allocations: 0.9872 MB / 1.057 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.9034, allocations: 1.299 MB / 1.058 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/0.9061, allocations: 1.097 MB / 1.059 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005338/0.9066, allocations: 60 kB / 1.06 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003836/0.9105, allocations: 1.01 MB / 1.061 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007628/0.9113, allocations: 318.6 kB / 1.061 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.9125, allocations: 356.8 kB / 1.061 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.9162, allocations: 1.972 MB / 1.063 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9162, allocations: 0 / 1.063 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9162, allocations: 0 / 1.063 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.962e-05/0.9163, allocations: 0 / 1.063 GB, free: 2.164 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004847/0.9212, allocations: 1.902 MB / 1.065 GB, free: 200 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9212, allocations: 16.03 kB / 1.065 GB, free: 184 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003996/0.9216, allocations: 143.8 kB / 1.065 GB, free: 32 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/0.9251, allocations: 0.5756 MB / 1.066 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.9284, allocations: 1.345 MB / 1.067 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.9287, allocations: 153.4 kB / 1.067 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.929, allocations: 104 kB / 1.067 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.9322, allocations: 1.342 MB / 1.069 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.9323, allocations: 0 / 1.069 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.9324, allocations: 47.77 kB / 1.069 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.9325, allocations: 28 kB / 1.069 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.9362, allocations: 1.382 MB / 1.07 GB, free: 10.96 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.0104/0.9466, allocations: 5.477 MB / 1.075 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.9516, allocations: 1.412 MB / 1.077 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.9533, allocations: 0.6392 MB / 1.077 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.9546, allocations: 1.236 MB / 1.078 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.9564, allocations: 0.6862 MB / 1.079 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/0.9564, allocations: 0 / 1.079 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70): time 0.005038/0.9615, allocations: 1.778 MB / 1.081 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.9615, allocations: 63.91 kB / 1.081 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.9638, allocations: 1.264 MB / 1.082 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.964, allocations: 41.7 kB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/0.9647, allocations: 0.6579 MB / 1.083 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.965, allocations: 244.6 kB / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.965, allocations: 19.94 kB / 1.083 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9652, allocations: 330 kB / 1.083 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.9667, allocations: 0.5484 MB / 1.084 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.9683, allocations: 0.7872 MB / 1.085 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.9699, allocations: 0.6019 MB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9699, allocations: 0 / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003947/0.9738, allocations: 1.473 MB / 1.087 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.974, allocations: 205.9 kB / 1.087 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9741, allocations: 8 kB / 1.087 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.9741, allocations: 11.98 kB / 1.087 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.9753, allocations: 275.6 kB / 1.087 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.9753, allocations: 8 kB / 1.087 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.9772, allocations: 243 kB / 1.087 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.9773, allocations: 35.98 kB / 1.088 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.9774, allocations: 7.953 kB / 1.088 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/0.9807, allocations: 1.313 MB / 1.089 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9808, allocations: 8 kB / 1.089 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9808, allocations: 8 kB / 1.089 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.982, allocations: 275.9 kB / 1.089 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.982, allocations: 8 kB / 1.089 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.9837, allocations: 231.1 kB / 1.089 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.9838, allocations: 43.97 kB / 1.089 GB, free: 6.176 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,$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 (97): * Single equations (assignments): 96 * 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.0008034/0.9846, allocations: 416.8 kB / 1.09 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/0.9851, allocations: 146.2 kB / 1.09 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.9889, allocations: 1.528 MB / 1.091 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.9889, allocations: 15.98 kB / 1.091 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.9889, allocations: 0 / 1.091 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002999/0.9919, allocations: 1.281 MB / 1.093 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007497/0.9995, allocations: 3.277 MB / 1.096 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.9995, allocations: 4 kB / 1.096 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.001, allocations: 243.7 kB / 1.096 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.421e-05/1.001, allocations: 8 kB / 1.096 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/1.001, allocations: 23.98 kB / 1.096 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/1.001, allocations: 15.92 kB / 1.096 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/1.001, allocations: 7.938 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005406/1.006, allocations: 2.31 MB / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.007, allocations: 370.8 kB / 1.099 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/1.008, allocations: 19.98 kB / 1.099 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.01, allocations: 183.7 kB / 1.099 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.01, allocations: 72.36 kB / 1.099 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.01, allocations: 43.97 kB / 1.099 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001881/1.012, allocations: 0.9012 MB / 1.1 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/1.012, allocations: 0 / 1.1 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002891/1.015, allocations: 0.7876 MB / 1.101 GB, free: 10.23 MB / 0.8575 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 (74): * Single equations (assignments): 66 * 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.006908/1.022, allocations: 3.242 MB / 1.104 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005789/1.028, allocations: 2.089 MB / 1.106 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.028, allocations: 0 / 1.106 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/1.03, allocations: 0.7108 MB / 1.107 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/1.035, allocations: 0.7478 MB / 1.107 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/1.058, allocations: 9.864 MB / 1.117 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.059, allocations: 1.241 MB / 1.118 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002176/1.061, allocations: 367.6 kB / 1.119 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.062, allocations: 0.5851 MB / 1.119 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of SimCode: time 3.476e-06/1.062, allocations: 0 / 1.119 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/1.142, allocations: 42.5 MB / 1.161 GB, free: 12.88 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.142, allocations: 232 kB / 1.161 GB, free: 12.63 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/4.167, allocations: 0 / 1.161 GB, free: 12.63 MB / 0.92 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) Environment - environmentSimulation: 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