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.001038/0.001038, 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.001264/0.001264, 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.463/1.463, 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 10.0.0-master/package.mo): time 2.565/2.565, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003823, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7651, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0508/0.816, allocations: 49.27 MB / 1.029 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.8319, allocations: 10.77 MB / 1.04 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.8338, allocations: 51.69 kB / 1.04 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.8354, allocations: 0.5395 MB / 1.04 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.8397, allocations: 1.691 MB / 1.042 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.8425, allocations: 1.02 MB / 1.043 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004905/0.8474, allocations: 4.345 MB / 1.047 GB, free: 2.438 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.8488, allocations: 0.9388 MB / 1.048 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.8507, allocations: 1.132 MB / 1.049 GB, free: 344 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.8519, allocations: 0.9839 MB / 1.05 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.8521, allocations: 56 kB / 1.05 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.8537, allocations: 0.6002 MB / 1.051 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.8541, allocations: 330.7 kB / 1.051 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.8544, allocations: 336.8 kB / 1.051 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.8563, allocations: 1.859 MB / 1.053 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8563, allocations: 0 / 1.053 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8563, allocations: 0 / 1.053 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.8564, allocations: 0 / 1.053 GB, free: 12.17 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003031/0.8594, allocations: 1.746 MB / 1.055 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.8594, allocations: 20.02 kB / 1.055 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.8596, allocations: 139.6 kB / 1.055 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.8627, allocations: 0.6184 MB / 1.056 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.865, allocations: 1.318 MB / 1.057 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.8651, allocations: 123.6 kB / 1.057 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.8653, allocations: 92 kB / 1.057 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.8685, allocations: 1.393 MB / 1.059 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.8685, allocations: 0 / 1.059 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.8686, allocations: 40 kB / 1.059 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.8687, allocations: 24 kB / 1.059 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/0.8724, allocations: 1.499 MB / 1.06 GB, free: 5.004 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.008436/0.8808, allocations: 5.398 MB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.8835, allocations: 1.118 MB / 1.067 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.885, allocations: 0.6353 MB / 1.067 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008255/0.8859, allocations: 1.069 MB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/0.8875, allocations: 0.7096 MB / 1.069 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.8875, allocations: 0 / 1.069 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.004713/0.8922, allocations: 1.863 MB / 1.071 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.8923, allocations: 59.97 kB / 1.071 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.8941, allocations: 1.386 MB / 1.072 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.8942, allocations: 37.7 kB / 1.072 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000644/0.8948, allocations: 0.6463 MB / 1.073 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.895, allocations: 205 kB / 1.073 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.8951, allocations: 16 kB / 1.073 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8952, allocations: 334 kB / 1.073 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.8967, allocations: 0.5875 MB / 1.074 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.8983, allocations: 0.7887 MB / 1.075 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.8997, allocations: 0.5926 MB / 1.075 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8997, allocations: 0 / 1.075 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003467/0.9032, allocations: 1.503 MB / 1.077 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.9032, allocations: 11.95 kB / 1.077 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.9033, allocations: 4 kB / 1.077 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.9033, allocations: 8 kB / 1.077 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.9045, allocations: 271.6 kB / 1.077 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.9045, allocations: 11.94 kB / 1.077 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.9059, allocations: 234.9 kB / 1.077 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/0.906, allocations: 43.97 kB / 1.077 GB, free: 2.848 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.0005714/0.9066, allocations: 353.6 kB / 1.078 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.9068, allocations: 150.1 kB / 1.078 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/0.9103, allocations: 1.481 MB / 1.079 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.9103, allocations: 11.98 kB / 1.079 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9103, allocations: 0 / 1.079 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003027/0.9134, allocations: 1.329 MB / 1.08 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/0.9188, allocations: 3.027 MB / 1.083 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.9188, allocations: 96 / 1.083 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.9199, allocations: 235.8 kB / 1.084 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.9199, allocations: 7.984 kB / 1.084 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.92, allocations: 23.97 kB / 1.084 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.92, allocations: 4 kB / 1.084 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.92, allocations: 4 kB / 1.084 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/0.9251, allocations: 2.328 MB / 1.086 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/0.9258, allocations: 374.9 kB / 1.086 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.926, allocations: 12 kB / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.9272, allocations: 159.8 kB / 1.086 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.9273, allocations: 64.38 kB / 1.087 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.9274, allocations: 31.97 kB / 1.087 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00162/0.9291, allocations: 0.9713 MB / 1.088 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9291, allocations: 0 / 1.088 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001657/0.9307, allocations: 447.4 kB / 1.088 GB, free: 7.664 MB / 0.8419 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.006231/0.937, allocations: 3.185 MB / 1.091 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003294/0.9403, allocations: 1.344 MB / 1.092 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.9403, allocations: 4 kB / 1.092 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.942, allocations: 0.691 MB / 1.093 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/0.9456, allocations: 0.7217 MB / 1.094 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/0.9654, allocations: 10.16 MB / 1.104 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.9663, allocations: 1.225 MB / 1.105 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001533/0.9678, allocations: 309.8 kB / 1.105 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/0.9687, allocations: 0.5617 MB / 1.106 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of SimCode: time 1.252e-06/0.9687, allocations: 0 / 1.106 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/1.034, allocations: 41.01 MB / 1.146 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.034, allocations: 234.4 kB / 1.146 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.983, allocations: 4 kB / 1.146 GB, free: 12.25 MB / 0.9044 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