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.0008866/0.0008866, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005066/0.005066, allocations: 170.8 kB / 16.26 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.205/1.205, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.541/1.541, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005379/0.0005379, allocations: 16.16 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2143, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003157/0.2175, allocations: 1.79 MB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002602/0.2201, allocations: 1.245 MB / 0.791 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.2203, allocations: 4 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.2208, allocations: 107.8 kB / 0.7911 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.221, allocations: 35.72 kB / 0.7911 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.2219, allocations: 205.1 kB / 0.7913 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.2223, allocations: 263.2 kB / 0.7916 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2225, allocations: 91.05 kB / 0.7916 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.2227, allocations: 79.62 kB / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.2229, allocations: 103.5 kB / 0.7918 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.223, allocations: 12 kB / 0.7918 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.2235, allocations: 191.7 kB / 0.792 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2236, allocations: 75.75 kB / 0.7921 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.2238, allocations: 148.9 kB / 0.7922 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.2247, allocations: 0.5295 MB / 0.7927 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2247, allocations: 0 / 0.7927 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2248, allocations: 0 / 0.7927 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2248, allocations: 0 / 0.7927 GB, free: 6.559 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.001455/0.2262, allocations: 0.7738 MB / 0.7935 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2263, allocations: 8.031 kB / 0.7935 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.349e-05/0.2264, allocations: 50.73 kB / 0.7936 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/0.2265, allocations: 32.56 kB / 0.7936 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.2271, allocations: 320.4 kB / 0.7939 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2271, allocations: 12.66 kB / 0.7939 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.2272, allocations: 23.94 kB / 0.7939 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008813/0.2281, allocations: 310.7 kB / 0.7942 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2281, allocations: 0 / 0.7942 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.2281, allocations: 8 kB / 0.7942 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2282, allocations: 4 kB / 0.7942 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2292, allocations: 311.7 kB / 0.7945 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2306, allocations: 0.6754 MB / 0.7952 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.2314, allocations: 254.5 kB / 0.7954 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/0.2321, allocations: 204.7 kB / 0.7956 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2321, allocations: 8 kB / 0.7956 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2321, allocations: 30.56 kB / 0.7957 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.2321, allocations: 0 / 0.7957 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002077/0.2342, allocations: 0.7191 MB / 0.7964 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.2343, allocations: 140.5 kB / 0.7965 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.2349, allocations: 376.5 kB / 0.7969 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.235, allocations: 33.64 kB / 0.7969 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.2352, allocations: 168.3 kB / 0.7971 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.2353, allocations: 39.36 kB / 0.7971 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.2354, allocations: 33.7 kB / 0.7971 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2355, allocations: 342.8 kB / 0.7975 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006933/0.2362, allocations: 255.8 kB / 0.7977 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.2369, allocations: 255.8 kB / 0.7979 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.2383, allocations: 0.7093 MB / 0.7986 GB, free: 172 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2384, allocations: 0 / 0.7986 GB, free: 172 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001861/0.2402, allocations: 0.7688 MB / 0.7994 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.2405, allocations: 189.2 kB / 0.7996 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2405, allocations: 0 / 0.7996 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2406, allocations: 0 / 0.7996 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2408, allocations: 35.97 kB / 0.7996 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2408, allocations: 0 / 0.7996 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.2411, allocations: 59.66 kB / 0.7997 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.2412, allocations: 16.05 kB / 0.7997 GB, free: 15.03 MB / 0.6231 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.0002658/0.2415, allocations: 262.8 kB / 0.7999 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.2415, allocations: 35.62 kB / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.2416, allocations: 26.94 kB / 0.8 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2416, allocations: 0 / 0.8 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2416, allocations: 4 kB / 0.8 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2416, allocations: 0 / 0.8 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.242, allocations: 341.3 kB / 0.8003 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.242, allocations: 0 / 0.8003 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.2422, allocations: 39.97 kB / 0.8004 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2422, allocations: 0 / 0.8004 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.2422, allocations: 8 kB / 0.8004 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2422, allocations: 4 kB / 0.8004 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2422, allocations: 0 / 0.8004 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2432, allocations: 0.6562 MB / 0.801 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.2433, allocations: 112.7 kB / 0.8011 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.2434, allocations: 8 kB / 0.8011 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2436, allocations: 35.95 kB / 0.8012 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2437, allocations: 31.97 kB / 0.8012 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2438, allocations: 11.98 kB / 0.8012 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002729/0.2441, allocations: 275 kB / 0.8015 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2441, allocations: 0 / 0.8015 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004221/0.2445, allocations: 103.9 kB / 0.8016 GB, free: 12.96 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.001871/0.2464, allocations: 1.247 MB / 0.8028 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.2477, allocations: 0.8672 MB / 0.8036 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2477, allocations: 0 / 0.8036 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.2483, allocations: 394 kB / 0.804 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.2488, allocations: 79.23 kB / 0.8041 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.2549, allocations: 4.593 MB / 0.8086 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.2553, allocations: 0.7831 MB / 0.8093 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.201e-05/0.2554, allocations: 25.94 kB / 0.8093 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.2555, allocations: 87.41 kB / 0.8094 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2555, allocations: 0 / 0.8094 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/0.4186, allocations: 7.942 MB / 0.8172 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/0.419, allocations: 238.6 kB / 0.8174 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.292, allocations: 4.688 kB / 0.8174 GB, free: 12.65 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)