Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.255/2.255, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001153/0.001152, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.000946, allocations: 83.97 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.515e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3277, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.383, allocations: 154.3 MB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.384, allocations: 104 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02123/1.405, allocations: 6.939 MB / 1.376 GB, free: 9.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.405, allocations: 0 / 1.376 GB, free: 9.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.151e-05/1.405, allocations: 8 kB / 1.376 GB, free: 9.668 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.001172/1.406, allocations: 0.7321 MB / 1.377 GB, free: 8.875 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.406, allocations: 12.03 kB / 1.377 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/1.407, allocations: 53.3 kB / 1.377 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/1.407, allocations: 35.58 kB / 1.377 GB, free: 8.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/1.407, allocations: 306 kB / 1.378 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.407, allocations: 11.78 kB / 1.378 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/1.407, allocations: 18.5 kB / 1.378 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/1.408, allocations: 253.1 kB / 1.378 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.408, allocations: 0 / 1.378 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/1.408, allocations: 7.5 kB / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/1.408, allocations: 4 kB / 1.378 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/1.408, allocations: 212.6 kB / 1.378 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/1.409, allocations: 0.7306 MB / 1.379 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/1.41, allocations: 207.7 kB / 1.379 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/1.41, allocations: 150.5 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/1.41, allocations: 0 / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.41, allocations: 37.62 kB / 1.379 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/1.41, allocations: 0 / 1.379 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0006531/1.411, allocations: 445.1 kB / 1.38 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/1.411, allocations: 140.1 kB / 1.38 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/1.411, allocations: 336 kB / 1.38 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/1.411, allocations: 33.64 kB / 1.38 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/1.412, allocations: 168.5 kB / 1.38 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/1.412, allocations: 43.11 kB / 1.38 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/1.412, allocations: 2.75 kB / 1.38 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.412, allocations: 341.3 kB / 1.381 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/1.412, allocations: 200.4 kB / 1.381 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/1.412, allocations: 194.9 kB / 1.381 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/1.413, allocations: 367.8 kB / 1.381 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.413, allocations: 0 / 1.381 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007398/1.413, allocations: 0.6476 MB / 1.382 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.413, allocations: 184.8 kB / 1.382 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.413, allocations: 0 / 1.382 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.413, allocations: 4 kB / 1.382 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.414, allocations: 35.97 kB / 1.382 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.414, allocations: 7.953 kB / 1.382 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/1.414, allocations: 51.81 kB / 1.382 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/1.414, allocations: 19.86 kB / 1.382 GB, free: 4.375 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.0001518/1.414, allocations: 199.8 kB / 1.382 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/1.414, allocations: 31.62 kB / 1.382 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/1.414, allocations: 29.75 kB / 1.382 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.414, allocations: 0 / 1.382 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.414, allocations: 0 / 1.382 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.414, allocations: 7.953 kB / 1.382 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/1.415, allocations: 352 kB / 1.383 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.415, allocations: 4 kB / 1.383 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/1.415, allocations: 39.09 kB / 1.383 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.415, allocations: 0 / 1.383 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/1.415, allocations: 4 kB / 1.383 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.415, allocations: 0 / 1.383 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.415, allocations: 4 kB / 1.383 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/1.416, allocations: 0.5521 MB / 1.383 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/1.416, allocations: 108.4 kB / 1.384 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/1.416, allocations: 7.312 kB / 1.384 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/1.416, allocations: 39.95 kB / 1.384 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.416, allocations: 30.03 kB / 1.384 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/1.416, allocations: 11.94 kB / 1.384 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002802/1.417, allocations: 267.4 kB / 1.384 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.417, allocations: 0 / 1.384 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005452/1.417, allocations: 123.6 kB / 1.384 GB, free: 2.723 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.001621/1.419, allocations: 1.268 MB / 1.385 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008075/1.42, allocations: 0.7674 MB / 1.386 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.42, allocations: 0 / 1.386 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/1.42, allocations: 352.3 kB / 1.386 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/1.42, allocations: 56.95 kB / 1.386 GB, free: 484 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/1.422, allocations: 0.6003 MB / 1.387 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/1.422, allocations: 0.789 MB / 1.388 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001038/1.422, allocations: 26.08 kB / 1.388 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/1.422, allocations: 84.27 kB / 1.388 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/1.422, allocations: 3.938 kB / 1.388 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/1.446, allocations: 9.894 MB / 1.397 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.446, allocations: 197 kB / 1.398 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.761, allocations: 0 / 1.398 GB, free: 5.246 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat does not exist to compare? outputFormat=mat