Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 1.439/1.439, allocations: 287.4 MB / 302.5 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009331/0.0009332, allocations: 186.2 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006719/0.0006719, allocations: 85.5 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 16.12 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001702/0.1533, allocations: 1.744 MB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1547, allocations: 1.124 MB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1549, allocations: 7.938 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1552, allocations: 99.53 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.1553, allocations: 27.72 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.1559, allocations: 188.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1561, allocations: 247.3 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1563, allocations: 95.25 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.1564, allocations: 79.69 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1565, allocations: 99.53 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.1565, allocations: 16 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.1568, allocations: 187.7 kB / 0.9825 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1568, allocations: 75.75 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.1569, allocations: 73.52 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1572, allocations: 411 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1572, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1572, allocations: 4 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1572, allocations: 0 / 0.9831 GB, free: 23.61 MB / 0.6198 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.0007564/0.158, allocations: 0.766 MB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.158, allocations: 12.03 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.158, allocations: 46.73 kB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1581, allocations: 44.56 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1584, allocations: 316.4 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1584, allocations: 12.66 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1584, allocations: 19.94 kB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.1589, allocations: 310.8 kB / 0.9846 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1589, allocations: 3.938 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1589, allocations: 8 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.159, allocations: 4 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.1595, allocations: 311.7 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.1602, allocations: 0.6794 MB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.1606, allocations: 246.6 kB / 0.9858 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.161, allocations: 204.7 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.161, allocations: 7.984 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.161, allocations: 30.56 kB / 0.986 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.161, allocations: 0 / 0.986 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001037/0.1621, allocations: 0.7256 MB / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1621, allocations: 140.5 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1624, allocations: 380.4 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1624, allocations: 29.7 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1625, allocations: 164.3 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1625, allocations: 39.36 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.1625, allocations: 8 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.1626, allocations: 342.8 kB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.1629, allocations: 255.8 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.1633, allocations: 257.1 kB / 0.9883 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.164, allocations: 0.707 MB / 0.9889 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.164, allocations: 4 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007967/0.1648, allocations: 0.7609 MB / 0.9897 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.1648, allocations: 184.7 kB / 0.9899 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1649, allocations: 4 kB / 0.9899 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1649, allocations: 0 / 0.9899 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.165, allocations: 35.97 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.165, allocations: 4 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1652, allocations: 55.66 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1652, allocations: 15.94 kB / 0.99 GB, free: 16.12 MB / 0.6198 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.0001287/0.1654, allocations: 258.9 kB / 0.9902 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.1654, allocations: 31.62 kB / 0.9903 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.1655, allocations: 30.94 kB / 0.9903 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1655, allocations: 0 / 0.9903 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1655, allocations: 0 / 0.9903 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1655, allocations: 3.938 kB / 0.9903 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.1657, allocations: 345.3 kB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1657, allocations: 0 / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.1659, allocations: 35.97 kB / 0.9907 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1659, allocations: 4 kB / 0.9907 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1659, allocations: 8 kB / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1659, allocations: 0 / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1659, allocations: 3.938 kB / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.1666, allocations: 0.6562 MB / 0.9913 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1667, allocations: 116.7 kB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.1667, allocations: 4 kB / 0.9914 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1669, allocations: 43.95 kB / 0.9915 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.167, allocations: 35.91 kB / 0.9915 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1671, allocations: 4 kB / 0.9915 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001906/0.1673, allocations: 271 kB / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1673, allocations: 0 / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003038/0.1676, allocations: 107.9 kB / 0.9919 GB, free: 14.06 MB / 0.6198 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.001001/0.1686, allocations: 1.238 MB / 0.9931 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008299/0.1694, allocations: 0.8711 MB / 0.9939 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1694, allocations: 0 / 0.9939 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.1698, allocations: 398 kB / 0.9943 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1702, allocations: 69.81 kB / 0.9944 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.1733, allocations: 2.846 MB / 0.9972 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.1735, allocations: 0.7909 MB / 0.9979 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.73e-05/0.1735, allocations: 17.95 kB / 0.9979 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.1736, allocations: 83.41 kB / 0.998 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1736, allocations: 4 kB / 0.998 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2457/0.4193, allocations: 8.167 MB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.4196, allocations: 229.3 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.266, allocations: 0 / 1.006 GB, free: 15.38 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)