Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_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.001318/0.001318, allocations: 99.39 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.001589/0.001589, allocations: 177.3 kB / 15.95 MB, free: 216 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.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.446/2.446, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7917, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04888/0.8407, allocations: 44.77 MB / 0.9973 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.858, allocations: 9.912 MB / 1.007 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.8609, allocations: 51.62 kB / 1.007 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.8637, allocations: 0.7113 MB / 1.008 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007621/0.8714, allocations: 2.04 MB / 1.01 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.8761, allocations: 1.557 MB / 1.011 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005197/0.8813, allocations: 2.341 MB / 1.014 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.8833, allocations: 0.9624 MB / 1.014 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.8859, allocations: 1.028 MB / 1.015 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.8872, allocations: 0.7 MB / 1.016 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.8873, allocations: 55.94 kB / 1.016 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.8898, allocations: 0.6709 MB / 1.017 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.8902, allocations: 294.8 kB / 1.017 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.8907, allocations: 340.9 kB / 1.017 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.8935, allocations: 1.785 MB / 1.019 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.8935, allocations: 0 / 1.019 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8935, allocations: 0 / 1.019 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.501e-05/0.8936, allocations: 0 / 1.019 GB, free: 12.81 MB / 0.7794 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.003588/0.8971, allocations: 1.732 MB / 1.021 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.8972, allocations: 12.02 kB / 1.021 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.8974, allocations: 143.6 kB / 1.021 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.9009, allocations: 0.6185 MB / 1.022 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.9045, allocations: 1.437 MB / 1.023 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.9047, allocations: 131.6 kB / 1.023 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.9049, allocations: 91.91 kB / 1.023 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.9078, allocations: 1.26 MB / 1.025 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.9078, allocations: 0 / 1.025 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.9079, allocations: 39.98 kB / 1.025 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.9079, allocations: 24 kB / 1.025 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003357/0.9113, allocations: 1.245 MB / 1.026 GB, free: 5.926 MB / 0.7794 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.007735/0.9191, allocations: 4.93 MB / 1.031 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.9217, allocations: 0.8892 MB / 1.031 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009167/0.9226, allocations: 1.065 MB / 1.033 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.9242, allocations: 0.5808 MB / 1.033 GB, free: 13.96 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.394e-06/0.9242, allocations: 0 / 1.033 GB, free: 13.96 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.004657/0.9289, allocations: 1.524 MB / 1.035 GB, free: 12.43 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.929, allocations: 59.95 kB / 1.035 GB, free: 12.36 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.9309, allocations: 1.335 MB / 1.036 GB, free: 11.01 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.931, allocations: 37.7 kB / 1.036 GB, free: 10.97 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/0.9316, allocations: 0.6502 MB / 1.037 GB, free: 10.31 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.9318, allocations: 201 kB / 1.037 GB, free: 10.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.9319, allocations: 16 kB / 1.037 GB, free: 10.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.932, allocations: 341.9 kB / 1.037 GB, free: 9.754 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.9334, allocations: 469.7 kB / 1.038 GB, free: 9.293 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.9349, allocations: 0.6637 MB / 1.038 GB, free: 8.551 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.9363, allocations: 498.9 kB / 1.039 GB, free: 8.062 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9364, allocations: 0 / 1.039 GB, free: 8.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003469/0.9398, allocations: 1.28 MB / 1.04 GB, free: 6.773 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.9399, allocations: 8 kB / 1.04 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.9399, allocations: 4 kB / 1.04 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.9399, allocations: 12.09 kB / 1.04 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.9412, allocations: 279.5 kB / 1.04 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.9412, allocations: 15.95 kB / 1.04 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.9428, allocations: 230.8 kB / 1.04 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.943, allocations: 51.97 kB / 1.041 GB, free: 6.184 MB / 0.795 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.0007249/0.9437, allocations: 357.5 kB / 1.041 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.9439, allocations: 150.2 kB / 1.041 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/0.9474, allocations: 1.278 MB / 1.042 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.9474, allocations: 11.98 kB / 1.042 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9474, allocations: 0 / 1.042 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002852/0.9503, allocations: 1.115 MB / 1.043 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005519/0.9558, allocations: 2.593 MB / 1.046 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.9559, allocations: 3.984 kB / 1.046 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.957, allocations: 223.9 kB / 1.046 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.957, allocations: 4 kB / 1.046 GB, free: 328 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.9571, allocations: 27.97 kB / 1.046 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.9571, allocations: 4 kB / 1.046 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9571, allocations: 4 kB / 1.046 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.9619, allocations: 2.043 MB / 1.048 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007918/0.9627, allocations: 362.8 kB / 1.048 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.9629, allocations: 15.98 kB / 1.048 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.9642, allocations: 143.9 kB / 1.049 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.9643, allocations: 52.44 kB / 1.049 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/0.9644, allocations: 51.95 kB / 1.049 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001299/0.9657, allocations: 0.9401 MB / 1.05 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.542e-06/0.9657, allocations: 0 / 1.05 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001301/0.967, allocations: 455.2 kB / 1.05 GB, free: 12.09 MB / 0.8106 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.006043/0.9731, allocations: 3.445 MB / 1.053 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.9763, allocations: 1.094 MB / 1.055 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9763, allocations: 384 / 1.055 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.9778, allocations: 0.5696 MB / 1.055 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/0.9812, allocations: 0.7057 MB / 1.056 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/0.9883, allocations: 7.071 MB / 1.063 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/0.9891, allocations: 1.26 MB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00173/0.9909, allocations: 330.6 kB / 1.064 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008799/0.9918, allocations: 0.5695 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.9918, allocations: 4 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06854/1.06, allocations: 39.58 MB / 1.103 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.061, allocations: 225 kB / 1.104 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.789, allocations: 2.953 kB / 1.104 GB, free: 5.445 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat does not exist to compare? outputFormat=mat