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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 176.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 95.86 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.22e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.354, allocations: 152.9 MB / 1.355 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.354, allocations: 92.64 kB / 1.355 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01869/1.373, allocations: 6.869 MB / 1.362 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.512e-06/1.373, allocations: 0 / 1.362 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.774e-05/1.373, allocations: 3.969 kB / 1.362 GB, free: 33.8 MB / 0.8386 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.0008369/1.374, allocations: 0.7391 MB / 1.363 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.374, allocations: 11.08 kB / 1.363 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.875e-05/1.374, allocations: 34.84 kB / 1.363 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/1.374, allocations: 308 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/1.374, allocations: 7.719 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/1.374, allocations: 11.56 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002898/1.375, allocations: 190.3 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/1.375, allocations: 235.5 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.375, allocations: 0 / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.375, allocations: 0 / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.375, allocations: 3.875 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/1.376, allocations: 0.694 MB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/1.376, allocations: 187.9 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/1.376, allocations: 161.6 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/1.377, allocations: 0 / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.377, allocations: 42.45 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/1.377, allocations: 0 / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0005202/1.377, allocations: 344.2 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.377, allocations: 132.4 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/1.377, allocations: 300.2 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/1.377, allocations: 29.55 kB / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.378, allocations: 172.9 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/1.378, allocations: 41.62 kB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/1.378, allocations: 3.5 kB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.378, allocations: 341.3 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/1.378, allocations: 192.6 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/1.378, allocations: 192.8 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/1.378, allocations: 195.8 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.378, allocations: 0 / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005767/1.379, allocations: 479.3 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/1.379, allocations: 184.6 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.379, allocations: 0 / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.379, allocations: 6.938 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/1.379, allocations: 33.39 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.379, allocations: 0 / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/1.38, allocations: 55.77 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/1.38, allocations: 21.59 kB / 1.367 GB, free: 31.45 MB / 0.8386 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 () * 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.0001347/1.38, allocations: 203.8 kB / 1.367 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004373/1.38, allocations: 353.8 kB / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/1.38, allocations: 33.91 kB / 1.368 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/1.38, allocations: 23.98 kB / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.38, allocations: 7.844 kB / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.38, allocations: 0 / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.38, allocations: 0 / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/1.381, allocations: 319.3 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.381, allocations: 0 / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/1.381, allocations: 35.42 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.381, allocations: 0 / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/1.381, allocations: 7.906 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.381, allocations: 0 / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.381, allocations: 0 / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/1.381, allocations: 460.9 kB / 1.369 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/1.381, allocations: 105.8 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/1.381, allocations: 11.28 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/1.382, allocations: 44.23 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.382, allocations: 22.84 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/1.382, allocations: 6.281 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000216/1.382, allocations: 238.5 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.382, allocations: 0 / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004734/1.383, allocations: 120.9 kB / 1.369 GB, free: 30.63 MB / 0.8386 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) * 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.001035/1.384, allocations: 1.156 MB / 1.37 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005841/1.384, allocations: 0.7451 MB / 1.371 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.384, allocations: 0 / 1.371 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/1.384, allocations: 346.3 kB / 1.371 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/1.385, allocations: 61.45 kB / 1.371 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/1.386, allocations: 0.5821 MB / 1.372 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/1.386, allocations: 0.7978 MB / 1.373 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.742e-05/1.386, allocations: 19.69 kB / 1.373 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/1.386, allocations: 83.09 kB / 1.373 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.386, allocations: 0 / 1.373 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/1.415, allocations: 7.889 MB / 1.381 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/1.415, allocations: 178.7 kB / 1.381 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/3.423, allocations: 0 / 1.381 GB, free: 26.84 MB / 0.8386 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