Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_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.001495/0.001495, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 185.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 76.02 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2432, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004039/0.2473, allocations: 2.094 MB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.2495, allocations: 1.213 MB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.2498, allocations: 4 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.2503, allocations: 119.5 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.2505, allocations: 47.58 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000889/0.2514, allocations: 254.5 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.2519, allocations: 323.2 kB / 0.7876 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2521, allocations: 95.03 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2523, allocations: 111.6 kB / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.2525, allocations: 127.4 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.2526, allocations: 32 kB / 0.7879 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.253, allocations: 223.7 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2531, allocations: 91.73 kB / 0.7882 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2533, allocations: 151.2 kB / 0.7884 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.254, allocations: 0.5569 MB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.254, allocations: 0 / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.254, allocations: 0 / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.254, allocations: 0 / 0.7889 GB, free: 7.809 MB / 0.6075 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.001339/0.2554, allocations: 0.8088 MB / 0.7897 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2554, allocations: 12.03 kB / 0.7897 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.2555, allocations: 50.67 kB / 0.7898 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.2556, allocations: 36.47 kB / 0.7898 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.256, allocations: 328.4 kB / 0.7901 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.256, allocations: 12.66 kB / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.2561, allocations: 19.94 kB / 0.7902 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.2567, allocations: 290.9 kB / 0.7904 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2567, allocations: 4 kB / 0.7904 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2567, allocations: 4 kB / 0.7904 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2567, allocations: 4 kB / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.2574, allocations: 275.7 kB / 0.7907 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2584, allocations: 0.6638 MB / 0.7914 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.259, allocations: 234.5 kB / 0.7916 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.2594, allocations: 188.7 kB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2594, allocations: 4 kB / 0.7918 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.2594, allocations: 30.56 kB / 0.7918 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.2594, allocations: 0 / 0.7918 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.00132/0.2608, allocations: 0.67 MB / 0.7924 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.2609, allocations: 132.5 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.2613, allocations: 380.4 kB / 0.7929 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2613, allocations: 37.7 kB / 0.793 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2615, allocations: 168.3 kB / 0.7931 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.2615, allocations: 39.45 kB / 0.7932 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.2616, allocations: 45.7 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2618, allocations: 346.7 kB / 0.7935 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.2622, allocations: 235.8 kB / 0.7938 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.2626, allocations: 247 kB / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.2636, allocations: 0.6796 MB / 0.7947 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2636, allocations: 0 / 0.7947 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001052/0.2646, allocations: 0.7318 MB / 0.7954 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.2648, allocations: 179.1 kB / 0.7956 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2648, allocations: 0 / 0.7956 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2648, allocations: 11.92 kB / 0.7956 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.265, allocations: 39.91 kB / 0.7956 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.265, allocations: 0 / 0.7956 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.2652, allocations: 43.77 kB / 0.7956 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.2652, allocations: 19.88 kB / 0.7957 GB, free: 476 kB / 0.6075 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.2655, allocations: 259.5 kB / 0.7959 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.2656, allocations: 27.72 kB / 0.7959 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.2656, allocations: 30.94 kB / 0.796 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2656, allocations: 4 kB / 0.796 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2656, allocations: 0 / 0.796 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2656, allocations: 4 kB / 0.796 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.266, allocations: 345.2 kB / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.266, allocations: 0 / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2662, allocations: 27.97 kB / 0.7963 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2662, allocations: 3.938 kB / 0.7963 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.2662, allocations: 12 kB / 0.7963 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2662, allocations: 0 / 0.7963 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2662, allocations: 4 kB / 0.7963 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009618/0.2672, allocations: 0.6167 MB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.2673, allocations: 112.7 kB / 0.7971 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.2674, allocations: 8 kB / 0.7971 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.2676, allocations: 27.97 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2677, allocations: 27.97 kB / 0.7971 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.2677, allocations: 11.98 kB / 0.7971 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002947/0.268, allocations: 279 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2681, allocations: 0 / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004025/0.2685, allocations: 100 kB / 0.7975 GB, free: 14.46 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/0.2699, allocations: 1.213 MB / 0.7987 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.2711, allocations: 0.8399 MB / 0.7995 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2711, allocations: 0 / 0.7995 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.2716, allocations: 378.1 kB / 0.7999 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.2721, allocations: 76.31 kB / 0.7999 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/0.2779, allocations: 4.427 MB / 0.8043 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.2784, allocations: 0.787 MB / 0.805 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.2785, allocations: 21.95 kB / 0.805 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2786, allocations: 91.34 kB / 0.8051 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2786, allocations: 0 / 0.8051 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.3091, allocations: 8.68 MB / 0.8136 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.715, allocations: 9.953 kB / 0.8136 GB, free: 13.89 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)