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.409/2.409, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001381/0.001381, allocations: 176 kB / 0.4901 GB, free: 2.25 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.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009247/0.000925, allocations: 95.28 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003961, allocations: 11.19 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2703, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.4662, allocations: 154.4 MB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.4665, allocations: 103.9 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0211/0.4876, allocations: 6.946 MB / 1.387 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4877, allocations: 0 / 1.387 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.347e-05/0.4877, allocations: 4 kB / 1.387 GB, free: 7.992 MB / 0.8855 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.001357/0.4891, allocations: 0.7972 MB / 1.388 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4891, allocations: 8.031 kB / 1.388 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.4893, allocations: 50.55 kB / 1.388 GB, free: 7.039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4894, allocations: 43.52 kB / 1.388 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.4899, allocations: 307 kB / 1.388 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.49, allocations: 20.16 kB / 1.388 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.49, allocations: 16 kB / 1.388 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.4907, allocations: 310.9 kB / 1.388 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4907, allocations: 0 / 1.388 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.4908, allocations: 8 kB / 1.388 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4908, allocations: 4 kB / 1.388 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.4915, allocations: 308.3 kB / 1.389 GB, free: 6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.493, allocations: 0.7349 MB / 1.389 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.4936, allocations: 254.5 kB / 1.39 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.4936, allocations: 0 / 1.39 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4937, allocations: 30.56 kB / 1.39 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.4937, allocations: 0 / 1.39 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.001627/0.4953, allocations: 0.9618 MB / 1.391 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4954, allocations: 140.5 kB / 1.391 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.4959, allocations: 339.6 kB / 1.391 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4959, allocations: 25.7 kB / 1.391 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4961, allocations: 168.3 kB / 1.391 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.4961, allocations: 43.5 kB / 1.391 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.4961, allocations: 4 kB / 1.391 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4963, allocations: 338.8 kB / 1.392 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.4968, allocations: 255.8 kB / 1.392 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.4973, allocations: 247.7 kB / 1.392 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.4978, allocations: 419.5 kB / 1.393 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4978, allocations: 0 / 1.393 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001176/0.499, allocations: 0.7518 MB / 1.393 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.4991, allocations: 186.2 kB / 1.393 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4992, allocations: 0 / 1.393 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4992, allocations: 0 / 1.393 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.4994, allocations: 35.97 kB / 1.394 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4994, allocations: 0 / 1.394 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.4997, allocations: 67.59 kB / 1.394 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.4997, allocations: 12 kB / 1.394 GB, free: 0.7266 MB / 0.8855 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.0002692/0.5, allocations: 263.6 kB / 1.394 GB, free: 452 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.5001, allocations: 23.72 kB / 1.394 GB, free: 428 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.5002, allocations: 30.94 kB / 1.394 GB, free: 396 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5002, allocations: 4 kB / 1.394 GB, free: 392 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5002, allocations: 0 / 1.394 GB, free: 392 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5002, allocations: 0 / 1.394 GB, free: 392 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.5007, allocations: 357.2 kB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5007, allocations: 0 / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.5009, allocations: 39.97 kB / 1.394 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5009, allocations: 0 / 1.394 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.5009, allocations: 8 kB / 1.394 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5009, allocations: 0 / 1.394 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5009, allocations: 3.984 kB / 1.394 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.502, allocations: 0.6561 MB / 1.395 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5021, allocations: 112.7 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.5021, allocations: 8 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.5024, allocations: 35.97 kB / 1.395 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5025, allocations: 31.95 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.5026, allocations: 7.938 kB / 1.395 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003084/0.5029, allocations: 275 kB / 1.395 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5029, allocations: 0 / 1.395 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000549/0.5034, allocations: 123.9 kB / 1.395 GB, free: 14.64 MB / 0.9011 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.001923/0.5054, allocations: 1.38 MB / 1.397 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.5066, allocations: 0.8617 MB / 1.398 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5066, allocations: 0 / 1.398 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.5072, allocations: 398 kB / 1.398 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.5075, allocations: 66.44 kB / 1.398 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.5092, allocations: 1.018 MB / 1.399 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.5096, allocations: 0.7947 MB / 1.4 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.5097, allocations: 25.94 kB / 1.4 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5099, allocations: 83.39 kB / 1.4 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of SimCode: time 3.81e-07/0.5099, allocations: 0 / 1.4 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.5386, allocations: 9.625 MB / 1.409 GB, free: 452 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/0.539, allocations: 222 kB / 1.41 GB, free: 204 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.741, allocations: 0.5 kB / 1.41 GB, free: 204 kB / 0.9011 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