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.001339/0.001339, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009935/0.0009934, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.198/1.198, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.521/1.521, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.0013/0.0013, allocations: 67.12 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1664, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003199/0.1696, allocations: 2.156 MB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1713, allocations: 1.198 MB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1715, allocations: 4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1718, allocations: 103.7 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.1719, allocations: 43.7 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.1725, allocations: 227.7 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1728, allocations: 319.3 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.173, allocations: 99.03 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.1731, allocations: 107.6 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1733, allocations: 127.5 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.1733, allocations: 28 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.1736, allocations: 227.7 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.382e-05/0.1737, allocations: 91.73 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1738, allocations: 151.2 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.1743, allocations: 0.5453 MB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1744, allocations: 4 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1744, allocations: 0 / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.1744, allocations: 3.938 kB / 0.7883 GB, free: 8.344 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.00102/0.1754, allocations: 0.7971 MB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1754, allocations: 12.03 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.1755, allocations: 50.73 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.1756, allocations: 36.47 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1759, allocations: 328.4 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1759, allocations: 12.66 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.176, allocations: 27.88 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.1765, allocations: 290.7 kB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1765, allocations: 0 / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.1766, allocations: 12 kB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1766, allocations: 4 kB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.1772, allocations: 267.7 kB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.178, allocations: 0.6677 MB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.1785, allocations: 234.6 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.1788, allocations: 188.9 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1789, allocations: 3.938 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1789, allocations: 42.56 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.1789, allocations: 0 / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.001208/0.1801, allocations: 0.6693 MB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1802, allocations: 140.5 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.1805, allocations: 380.4 kB / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1806, allocations: 29.7 kB / 0.7923 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.1807, allocations: 160.3 kB / 0.7925 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.1807, allocations: 43.45 kB / 0.7925 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.1808, allocations: 41.7 kB / 0.7925 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1809, allocations: 350.7 kB / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.1813, allocations: 235.9 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.1817, allocations: 247.8 kB / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.1826, allocations: 0.6757 MB / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1826, allocations: 0 / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009803/0.1836, allocations: 0.7281 MB / 0.7947 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/0.1837, allocations: 182.2 kB / 0.7949 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1837, allocations: 4 kB / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1837, allocations: 0 / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1839, allocations: 27.97 kB / 0.7949 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1839, allocations: 8.047 kB / 0.7949 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1841, allocations: 55.58 kB / 0.795 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.1841, allocations: 11.94 kB / 0.795 GB, free: 1.012 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.0001848/0.1843, allocations: 254.9 kB / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.1844, allocations: 31.7 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.1844, allocations: 26.94 kB / 0.7953 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1844, allocations: 7.938 kB / 0.7953 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1844, allocations: 0 / 0.7953 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1844, allocations: 3.984 kB / 0.7953 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.1847, allocations: 349.2 kB / 0.7956 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1847, allocations: 4 kB / 0.7956 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1849, allocations: 23.97 kB / 0.7957 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1849, allocations: 8 kB / 0.7957 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1849, allocations: 7.984 kB / 0.7957 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1849, allocations: 0 / 0.7957 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1849, allocations: 3.938 kB / 0.7957 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.1858, allocations: 0.6212 MB / 0.7963 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.1859, allocations: 116.7 kB / 0.7964 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.1859, allocations: 4 kB / 0.7964 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1861, allocations: 27.97 kB / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.1862, allocations: 23.97 kB / 0.7964 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1863, allocations: 4 kB / 0.7965 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002543/0.1865, allocations: 279 kB / 0.7967 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1865, allocations: 4 kB / 0.7967 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003658/0.1869, allocations: 104 kB / 0.7968 GB, free: 15 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.001269/0.1882, allocations: 1.221 MB / 0.798 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.1892, allocations: 0.8386 MB / 0.7988 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1892, allocations: 0 / 0.7988 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.1897, allocations: 378.1 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1901, allocations: 73.33 kB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.1953, allocations: 4.517 MB / 0.8037 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1956, allocations: 0.783 MB / 0.8044 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.489e-05/0.1957, allocations: 25.94 kB / 0.8045 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1958, allocations: 95.39 kB / 0.8046 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.1958, allocations: 0 / 0.8046 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.374/2.57, allocations: 8.266 MB / 0.8126 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/2.57, allocations: 239.8 kB / 0.8129 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/5.139, allocations: 0 / 0.8129 GB, free: 14.51 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)