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.001065/0.001066, allocations: 99.94 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.001218/0.001218, 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.379/1.379, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.396/2.396, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003472, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.694, allocations: 142.3 MB / 0.9536 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002114/0.6962, allocations: 1.729 MB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.6979, allocations: 1.094 MB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.6981, allocations: 2.406 kB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.6984, allocations: 95.61 kB / 0.9565 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.6986, allocations: 41.56 kB / 0.9565 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.6992, allocations: 179 kB / 0.9567 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.6994, allocations: 172.5 kB / 0.9568 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.6996, allocations: 67.59 kB / 0.9569 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.6997, allocations: 80.94 kB / 0.957 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.6999, allocations: 99.75 kB / 0.9571 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.6999, allocations: 9.969 kB / 0.9571 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.7003, allocations: 176.6 kB / 0.9572 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.7004, allocations: 75.08 kB / 0.9573 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.7005, allocations: 75.55 kB / 0.9574 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.7009, allocations: 414.2 kB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.7009, allocations: 0 / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7009, allocations: 0 / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.7009, allocations: 1.906 kB / 0.9578 GB, free: 5.137 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.001066/0.702, allocations: 0.7747 MB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.7021, allocations: 10.03 kB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.044e-05/0.7021, allocations: 57.45 kB / 0.9586 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.444e-05/0.7022, allocations: 35.91 kB / 0.9586 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.7026, allocations: 305.5 kB / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.7026, allocations: 15.5 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.7027, allocations: 21.5 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.7033, allocations: 305.3 kB / 0.9593 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7033, allocations: 0 / 0.9593 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.7034, allocations: 10.7 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.7034, allocations: 4.125 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.704, allocations: 305.7 kB / 0.9596 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.705, allocations: 0.6771 MB / 0.9602 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.7055, allocations: 242 kB / 0.9605 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.7056, allocations: 1.375 kB / 0.9605 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.7056, allocations: 40.81 kB / 0.9605 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.7056, allocations: 0 / 0.9605 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001434/0.707, allocations: 0.9593 MB / 0.9614 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.7071, allocations: 132.5 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.7075, allocations: 377.5 kB / 0.9619 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.7076, allocations: 31.92 kB / 0.9619 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.7076, allocations: 168.3 kB / 0.9621 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.7077, allocations: 42.31 kB / 0.9621 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.7077, allocations: 6.938 kB / 0.9622 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.7078, allocations: 339 kB / 0.9625 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.7082, allocations: 261.2 kB / 0.9627 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.7086, allocations: 247.3 kB / 0.963 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.7091, allocations: 424.2 kB / 0.9634 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7091, allocations: 0 / 0.9634 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001024/0.7101, allocations: 0.7715 MB / 0.9641 GB, free: 388 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.7102, allocations: 180.2 kB / 0.9643 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.7102, allocations: 5.188 kB / 0.9643 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7103, allocations: 5.016 kB / 0.9643 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.7104, allocations: 37.95 kB / 0.9643 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.7105, allocations: 4.938 kB / 0.9643 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.7107, allocations: 55.09 kB / 0.9644 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.7107, allocations: 10.28 kB / 0.9644 GB, free: 132 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.0002281/0.711, allocations: 254.9 kB / 0.9646 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.711, allocations: 37.72 kB / 0.9647 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.7111, allocations: 28.88 kB / 0.9647 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7111, allocations: 4.891 kB / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7111, allocations: 1.031 kB / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7111, allocations: 0 / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.7115, allocations: 340 kB / 0.965 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7115, allocations: 0 / 0.965 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.7117, allocations: 42.66 kB / 0.9651 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.7117, allocations: 0.9688 kB / 0.9651 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.7118, allocations: 8.188 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.7118, allocations: 1.062 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7118, allocations: 3.953 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.7129, allocations: 0.6428 MB / 0.9657 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.713, allocations: 113.9 kB / 0.9658 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.713, allocations: 8.156 kB / 0.9658 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.7133, allocations: 42.25 kB / 0.9659 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.7134, allocations: 25.34 kB / 0.9659 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.7134, allocations: 20.89 kB / 0.9659 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003322/0.7138, allocations: 271.9 kB / 0.9662 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.074e-06/0.7138, allocations: 0 / 0.9662 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005039/0.7143, allocations: 101 kB / 0.9663 GB, free: 14.73 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.001608/0.7159, allocations: 1.239 MB / 0.9675 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.7172, allocations: 0.8764 MB / 0.9683 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.7172, allocations: 0 / 0.9683 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.7177, allocations: 389.2 kB / 0.9687 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.7181, allocations: 70.53 kB / 0.9688 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.7196, allocations: 1.014 MB / 0.9698 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.7199, allocations: 0.7858 MB / 0.9705 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.749e-05/0.72, allocations: 23.39 kB / 0.9706 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.7202, allocations: 89 kB / 0.9707 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.7202, allocations: 0 / 0.9707 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.7409, allocations: 8.027 MB / 0.9785 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.7411, allocations: 220.2 kB / 0.9787 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.51, allocations: 0 / 0.9787 GB, free: 5.984 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