Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.000969/0.000969, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001142/0.001142, allocations: 172.7 kB / 15.95 MB, free: 208 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.298/1.298, allocations: 223.2 MB / 240 MB, free: 5.426 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.256/2.256, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5873, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001757/0.5891, allocations: 1.739 MB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.5904, allocations: 1.09 MB / 0.9566 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.5905, allocations: 3.031 kB / 0.9566 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.5907, allocations: 87.02 kB / 0.9567 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.5908, allocations: 35.53 kB / 0.9567 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.5913, allocations: 185.5 kB / 0.9569 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.5915, allocations: 247.1 kB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.5916, allocations: 75.17 kB / 0.9572 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.5917, allocations: 86.59 kB / 0.9573 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.5919, allocations: 104.8 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.5919, allocations: 9.188 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.5922, allocations: 189 kB / 0.9576 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.5922, allocations: 70.34 kB / 0.9577 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.5923, allocations: 74.77 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.5926, allocations: 416 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5926, allocations: 0 / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5926, allocations: 1.156 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5926, allocations: 0 / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008056/0.5935, allocations: 0.7796 MB / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.5935, allocations: 14.06 kB / 0.9589 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.5935, allocations: 53.2 kB / 0.959 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.5936, allocations: 36.09 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.5939, allocations: 305.5 kB / 0.9593 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.5939, allocations: 11.41 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.594, allocations: 17.66 kB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.5945, allocations: 313.7 kB / 0.9596 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5945, allocations: 0 / 0.9596 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.5945, allocations: 12.08 kB / 0.9596 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5945, allocations: 2.75 kB / 0.9596 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006025/0.5952, allocations: 306.5 kB / 0.9599 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.596, allocations: 0.6768 MB / 0.9606 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.5965, allocations: 246.2 kB / 0.9608 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.5969, allocations: 208.1 kB / 0.961 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.5969, allocations: 0.9688 kB / 0.961 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.5969, allocations: 37.17 kB / 0.961 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.5969, allocations: 0 / 0.961 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001214/0.5981, allocations: 0.7222 MB / 0.9618 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5982, allocations: 137.2 kB / 0.9619 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.5985, allocations: 377.2 kB / 0.9622 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5985, allocations: 28.95 kB / 0.9623 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.5986, allocations: 167.6 kB / 0.9624 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.5987, allocations: 42.12 kB / 0.9625 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.5987, allocations: 2.844 kB / 0.9625 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.5988, allocations: 346.3 kB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.5992, allocations: 258.1 kB / 0.963 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.5996, allocations: 255.5 kB / 0.9633 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.6, allocations: 422.8 kB / 0.9637 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6, allocations: 0 / 0.9637 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009416/0.601, allocations: 0.7667 MB / 0.9644 GB, free: 276 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.601, allocations: 188.3 kB / 0.9646 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.601, allocations: 3.953 kB / 0.9646 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6011, allocations: 3.562 kB / 0.9646 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.6012, allocations: 31.75 kB / 0.9647 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6012, allocations: 0.9375 kB / 0.9647 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.6014, allocations: 63 kB / 0.9647 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.6015, allocations: 6.031 kB / 0.9647 GB, free: 20 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0002225/0.6017, allocations: 264.3 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.6018, allocations: 31.06 kB / 0.965 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.6018, allocations: 27.59 kB / 0.965 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.6018, allocations: 9.547 kB / 0.965 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6018, allocations: 0.9688 kB / 0.965 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.6018, allocations: 0 / 0.965 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.6022, allocations: 343.9 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6022, allocations: 0 / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6024, allocations: 34.91 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6024, allocations: 0.875 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.6024, allocations: 12 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6024, allocations: 0 / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6024, allocations: 4.953 kB / 0.9654 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.6034, allocations: 0.6506 MB / 0.9661 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.6035, allocations: 110 kB / 0.9662 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.6035, allocations: 7.375 kB / 0.9662 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.6038, allocations: 42.83 kB / 0.9662 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6039, allocations: 29.17 kB / 0.9662 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.6039, allocations: 12.91 kB / 0.9663 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002739/0.6042, allocations: 268.5 kB / 0.9665 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6042, allocations: 3.938 kB / 0.9665 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004107/0.6046, allocations: 101.8 kB / 0.9666 GB, free: 14.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.001418/0.606, allocations: 1.248 MB / 0.9678 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.6072, allocations: 0.8576 MB / 0.9687 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6072, allocations: 4 kB / 0.9687 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.6077, allocations: 392.8 kB / 0.969 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.6082, allocations: 65.72 kB / 0.9691 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.6124, allocations: 2.866 MB / 0.9719 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.6128, allocations: 0.7874 MB / 0.9727 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.009e-05/0.6129, allocations: 24.33 kB / 0.9727 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.613, allocations: 85.19 kB / 0.9728 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.613, allocations: 0 / 0.9728 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.6312, allocations: 8.171 MB / 0.9808 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.6313, allocations: 231.7 kB / 0.981 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.415, allocations: 0 / 0.981 GB, free: 3.789 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat does not exist to compare? outputFormat=mat