Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_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.001259/0.00126, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001349/0.001349, allocations: 182.7 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3201, allocations: 77.91 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002932/0.3231, allocations: 2.074 MB / 0.5693 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3244, allocations: 1.173 MB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.3245, allocations: 3.844 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.3248, allocations: 113.3 kB / 0.5706 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.3249, allocations: 47.58 kB / 0.5706 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.3255, allocations: 267.9 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.3259, allocations: 314.1 kB / 0.5712 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3261, allocations: 92.95 kB / 0.5713 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.58e-05/0.3262, allocations: 116 kB / 0.5714 GB, free: 30 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3263, allocations: 124.5 kB / 0.5715 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.3264, allocations: 29.75 kB / 0.5715 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3267, allocations: 228.2 kB / 0.5717 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.3268, allocations: 88.38 kB / 0.5718 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3269, allocations: 152.5 kB / 0.572 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.3274, allocations: 0.5489 MB / 0.5725 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3274, allocations: 1.281 kB / 0.5725 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3274, allocations: 0.9375 kB / 0.5725 GB, free: 29.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3275, allocations: 1.344 kB / 0.5725 GB, free: 29.54 MB / 446.1 MB 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.0008781/0.3283, allocations: 0.8057 MB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3284, allocations: 10.38 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.3284, allocations: 50.95 kB / 0.5733 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.3285, allocations: 32.44 kB / 0.5734 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.3288, allocations: 324.8 kB / 0.5737 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.3289, allocations: 13.75 kB / 0.5737 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.329, allocations: 16.84 kB / 0.5737 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.3296, allocations: 296.1 kB / 0.574 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3296, allocations: 1.906 kB / 0.574 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.3296, allocations: 6.344 kB / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3296, allocations: 4 kB / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.3303, allocations: 271.5 kB / 0.5743 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.3311, allocations: 0.678 MB / 0.5749 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.3316, allocations: 233.5 kB / 0.5752 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.332, allocations: 190.6 kB / 0.5753 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3321, allocations: 1.938 kB / 0.5753 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3321, allocations: 33.44 kB / 0.5754 GB, free: 27.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.3321, allocations: 5.172 kB / 0.5754 GB, free: 27.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001217/0.3333, allocations: 0.6707 MB / 0.576 GB, free: 27.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3334, allocations: 138.6 kB / 0.5762 GB, free: 27.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3337, allocations: 384.8 kB / 0.5765 GB, free: 27.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3338, allocations: 28.7 kB / 0.5766 GB, free: 26.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.3338, allocations: 171.1 kB / 0.5767 GB, free: 26.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3339, allocations: 42.48 kB / 0.5768 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.334, allocations: 52.2 kB / 0.5768 GB, free: 26.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.334, allocations: 343.4 kB / 0.5771 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.3344, allocations: 242.1 kB / 0.5774 GB, free: 26.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.3348, allocations: 235 kB / 0.5776 GB, free: 26.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.3358, allocations: 0.6825 MB / 0.5783 GB, free: 25.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3358, allocations: 4 kB / 0.5783 GB, free: 25.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009518/0.3367, allocations: 0.7341 MB / 0.579 GB, free: 25.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.3368, allocations: 184.4 kB / 0.5792 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.3368, allocations: 1.281 kB / 0.5792 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3368, allocations: 4.75 kB / 0.5792 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.337, allocations: 35.8 kB / 0.5792 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.337, allocations: 0 / 0.5792 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3372, allocations: 41.39 kB / 0.5792 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3373, allocations: 11.39 kB / 0.5792 GB, free: 25.31 MB / 446.1 MB 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.0001457/0.3374, allocations: 259.5 kB / 0.5795 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.3375, allocations: 30.75 kB / 0.5795 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.3375, allocations: 30.23 kB / 0.5796 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3375, allocations: 1.375 kB / 0.5796 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3375, allocations: 0.5156 kB / 0.5796 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3375, allocations: 1.891 kB / 0.5796 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.3378, allocations: 350.9 kB / 0.5799 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3378, allocations: 0.5312 kB / 0.5799 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.338, allocations: 36.83 kB / 0.5799 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.338, allocations: 1.781 kB / 0.5799 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.338, allocations: 7.875 kB / 0.5799 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.338, allocations: 1.344 kB / 0.5799 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.338, allocations: 3.688 kB / 0.5799 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.339, allocations: 0.6167 MB / 0.5805 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.3391, allocations: 108.6 kB / 0.5806 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3391, allocations: 9.578 kB / 0.5807 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.3393, allocations: 26.27 kB / 0.5807 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.3394, allocations: 30.61 kB / 0.5807 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3395, allocations: 4.625 kB / 0.5807 GB, free: 24.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.3397, allocations: 275.1 kB / 0.581 GB, free: 24.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3397, allocations: 1.938 kB / 0.581 GB, free: 24.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.3401, allocations: 100.8 kB / 0.5811 GB, free: 24.11 MB / 446.1 MB 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.00123/0.3413, allocations: 1.222 MB / 0.5823 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009336/0.3423, allocations: 0.8409 MB / 0.5831 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3423, allocations: 1.156 kB / 0.5831 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.3427, allocations: 376.7 kB / 0.5835 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3431, allocations: 68.19 kB / 0.5835 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.3479, allocations: 4.416 MB / 0.5878 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.3481, allocations: 0.7908 MB / 0.5886 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.554e-05/0.3482, allocations: 22.3 kB / 0.5886 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.3483, allocations: 93.84 kB / 0.5887 GB, free: 18.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3483, allocations: 0 / 0.5887 GB, free: 18.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5308/0.8791, allocations: 8.656 MB / 0.5972 GB, free: 11.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/8.422, allocations: 12.44 kB / 0.5972 GB, free: 11.63 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)