Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.001604/0.001604, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.002016/0.002016, allocations: 177.3 kB / 15.94 MB, free: 228 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.746/2.746, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.774/4.774, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.0006831, allocations: 11.98 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535/1.536, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.08456/1.621, allocations: 44.77 MB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02871/1.649, allocations: 9.917 MB / 1.034 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/1.653, allocations: 47.69 kB / 1.034 GB, free: 15.45 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004653/1.658, allocations: 0.7113 MB / 1.035 GB, free: 14.74 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/1.671, allocations: 2.036 MB / 1.037 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009135/1.68, allocations: 1.559 MB / 1.039 GB, free: 11.17 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009354/1.689, allocations: 2.339 MB / 1.041 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004068/1.693, allocations: 0.9508 MB / 1.042 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/1.698, allocations: 1.031 MB / 1.043 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/1.701, allocations: 0.7037 MB / 1.043 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004483/1.701, allocations: 52 kB / 1.043 GB, free: 6.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/1.706, allocations: 0.6631 MB / 1.044 GB, free: 5.391 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007321/1.707, allocations: 298.9 kB / 1.044 GB, free: 5.098 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.708, allocations: 340.8 kB / 1.045 GB, free: 4.758 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00468/1.712, allocations: 1.788 MB / 1.046 GB, free: 2.965 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.712, allocations: 0 / 1.046 GB, free: 2.965 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.069e-06/1.712, allocations: 4 kB / 1.046 GB, free: 2.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.902e-05/1.713, allocations: 0 / 1.046 GB, free: 2.961 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.007053/1.72, allocations: 1.726 MB / 1.048 GB, free: 1.176 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 7.581e-05/1.72, allocations: 12.02 kB / 1.048 GB, free: 1.164 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004986/1.72, allocations: 147.6 kB / 1.048 GB, free: 1.012 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/1.726, allocations: 0.6223 MB / 1.049 GB, free: 396 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007568/1.734, allocations: 1.433 MB / 1.05 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/1.734, allocations: 127.6 kB / 1.05 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/1.735, allocations: 95.98 kB / 1.051 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005907/1.741, allocations: 1.252 MB / 1.052 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.15e-05/1.741, allocations: 4 kB / 1.052 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/1.741, allocations: 39.98 kB / 1.052 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/1.741, allocations: 24 kB / 1.052 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00592/1.747, allocations: 1.245 MB / 1.053 GB, free: 12.08 MB / 0.8106 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.0152/1.763, allocations: 4.934 MB / 1.058 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00493/1.768, allocations: 0.8946 MB / 1.059 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.769, allocations: 1.065 MB / 1.06 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002605/1.772, allocations: 0.5846 MB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 1.262e-05/1.772, allocations: 0 / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.008164/1.78, allocations: 1.512 MB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.78, allocations: 63.95 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/1.784, allocations: 1.331 MB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/1.784, allocations: 41.7 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/1.785, allocations: 0.6541 MB / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005068/1.786, allocations: 209 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/1.786, allocations: 16 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0004306/1.786, allocations: 337.9 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/1.789, allocations: 469.7 kB / 1.065 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/1.792, allocations: 0.6598 MB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/1.794, allocations: 0.4988 MB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/1.794, allocations: 0 / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006318/1.8, allocations: 1.28 MB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/1.8, allocations: 13.67 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.8, allocations: 4 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.536e-05/1.801, allocations: 8 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/1.803, allocations: 279.8 kB / 1.068 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/1.803, allocations: 11.94 kB / 1.068 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/1.806, allocations: 226.8 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/1.806, allocations: 51.97 kB / 1.068 GB, free: 12.33 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.y,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00163/1.808, allocations: 361.6 kB / 1.068 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000886/1.809, allocations: 146.2 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006882/1.816, allocations: 1.279 MB / 1.07 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/1.816, allocations: 11.98 kB / 1.07 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.816, allocations: 0 / 1.07 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005202/1.821, allocations: 1.111 MB / 1.071 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.832, allocations: 2.593 MB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.832, allocations: 4.234 kB / 1.073 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.834, allocations: 223.7 kB / 1.073 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.442e-05/1.834, allocations: 4 kB / 1.073 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.834, allocations: 27.97 kB / 1.073 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-05/1.834, allocations: 4 kB / 1.073 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.834, allocations: 0 / 1.073 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009066/1.843, allocations: 2.047 MB / 1.075 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.845, allocations: 358.8 kB / 1.076 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/1.845, allocations: 27.94 kB / 1.076 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.847, allocations: 139.9 kB / 1.076 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.848, allocations: 60.36 kB / 1.076 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.848, allocations: 52.05 kB / 1.076 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00279/1.851, allocations: 0.94 MB / 1.077 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/1.851, allocations: 0 / 1.077 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003168/1.854, allocations: 455.3 kB / 1.077 GB, free: 2.242 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.0105/1.864, allocations: 3.431 MB / 1.081 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005587/1.87, allocations: 1.094 MB / 1.082 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/1.87, allocations: 4 kB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003005/1.873, allocations: 0.5658 MB / 1.082 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/1.88, allocations: 0.7147 MB / 1.083 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.895, allocations: 7.079 MB / 1.09 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/1.897, allocations: 1.252 MB / 1.091 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003447/1.9, allocations: 330.8 kB / 1.091 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/1.902, allocations: 0.5695 MB / 1.092 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of SimCode: time 1.633e-06/1.902, allocations: 0 / 1.092 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2078/2.11, allocations: 39.58 MB / 1.131 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006635/2.11, allocations: 226.7 kB / 1.131 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.559/7.669, allocations: 0 / 1.131 GB, free: 11.61 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat does not exist to compare? outputFormat=mat