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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002105/0.002105, allocations: 193.3 kB / 16.13 MB, free: 6.707 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.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.992 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.643/1.643, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001298/0.001298, allocations: 65.41 kB / 0.6709 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.165, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002988/0.168, allocations: 2.148 MB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1697, allocations: 1.26 MB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.1698, allocations: 4 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1701, allocations: 107.8 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.482e-05/0.1702, allocations: 35.72 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.1707, allocations: 203.7 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1709, allocations: 267.2 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1711, allocations: 87.03 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.1712, allocations: 95.62 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1713, allocations: 111.5 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.1714, allocations: 15.94 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.1717, allocations: 207.7 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.1718, allocations: 83.73 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1719, allocations: 135.1 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.1724, allocations: 0.5336 MB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1724, allocations: 0 / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.1724, allocations: 0 / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1724, allocations: 0 / 0.788 GB, free: 8.609 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.001023/0.1734, allocations: 0.8126 MB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1735, allocations: 8.031 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.1735, allocations: 54.73 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1736, allocations: 32.56 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1739, allocations: 312.4 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.174, allocations: 16.66 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.174, allocations: 19.94 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.1746, allocations: 298.7 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1746, allocations: 0 / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1746, allocations: 8 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1746, allocations: 3.938 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.1753, allocations: 275.7 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.1762, allocations: 0.6677 MB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.1767, allocations: 230.5 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.1771, allocations: 188.8 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1771, allocations: 7.984 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1771, allocations: 34.56 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1771, allocations: 0 / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.001271/0.1784, allocations: 0.6729 MB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1785, allocations: 132.5 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.1788, allocations: 380.4 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1789, allocations: 33.7 kB / 0.792 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.179, allocations: 168.3 kB / 0.7922 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.179, allocations: 43.45 kB / 0.7922 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.1791, allocations: 49.7 kB / 0.7922 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1792, allocations: 342.8 kB / 0.7926 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.1797, allocations: 235.8 kB / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.1801, allocations: 246.9 kB / 0.793 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008599/0.181, allocations: 0.6719 MB / 0.7937 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.181, allocations: 0 / 0.7937 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001018/0.182, allocations: 0.7395 MB / 0.7944 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.1821, allocations: 182.2 kB / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1821, allocations: 0 / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1821, allocations: 0 / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1823, allocations: 35.91 kB / 0.7946 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1823, allocations: 4 kB / 0.7946 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1825, allocations: 47.77 kB / 0.7947 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.1825, allocations: 19.84 kB / 0.7947 GB, free: 1.27 MB / 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.0002104/0.1828, allocations: 263.5 kB / 0.7949 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1828, allocations: 27.62 kB / 0.795 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.1829, allocations: 34.94 kB / 0.795 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1829, allocations: 0 / 0.795 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1829, allocations: 0 / 0.795 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1829, allocations: 0 / 0.795 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.1832, allocations: 353.3 kB / 0.7953 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1832, allocations: 4 kB / 0.7953 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1834, allocations: 27.97 kB / 0.7954 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1834, allocations: 0 / 0.7954 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1834, allocations: 4 kB / 0.7954 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1834, allocations: 0 / 0.7954 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1834, allocations: 0 / 0.7954 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.1843, allocations: 0.6288 MB / 0.796 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1844, allocations: 108.7 kB / 0.7961 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1845, allocations: 8 kB / 0.7961 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.1847, allocations: 27.95 kB / 0.7961 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/0.1848, allocations: 31.97 kB / 0.7962 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1848, allocations: 4 kB / 0.7962 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002593/0.1851, allocations: 279 kB / 0.7964 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1851, allocations: 0 / 0.7964 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003543/0.1854, allocations: 99.98 kB / 0.7965 GB, free: 15.26 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.001301/0.1867, allocations: 1.218 MB / 0.7977 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.1878, allocations: 0.8349 MB / 0.7985 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1878, allocations: 0 / 0.7985 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.1883, allocations: 378 kB / 0.7989 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.1887, allocations: 69.28 kB / 0.799 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.1941, allocations: 4.501 MB / 0.8033 GB, free: 8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1945, allocations: 0.7909 MB / 0.8041 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.925e-05/0.1945, allocations: 21.95 kB / 0.8041 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1947, allocations: 87.39 kB / 0.8042 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.1947, allocations: 0 / 0.8042 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.38/1.575, allocations: 8.043 MB / 0.8121 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.002963/1.578, allocations: 235.2 kB / 0.8123 GB, free: 15 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/3.367, allocations: 0 / 0.8123 GB, free: 15 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)