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.001062/0.001063, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009995, allocations: 172.8 kB / 16.56 MB, free: 6.391 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.321/1.321, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6594/0.6594, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004004, allocations: 12 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002414/0.1743, allocations: 1.708 MB / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.176, allocations: 1.081 MB / 0.5595 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.1761, allocations: 8 kB / 0.5595 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.1765, allocations: 95.53 kB / 0.5596 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.1766, allocations: 39.91 kB / 0.5596 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.1772, allocations: 183.6 kB / 0.5598 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.1774, allocations: 167.7 kB / 0.5599 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.1776, allocations: 69.86 kB / 0.56 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.1777, allocations: 75.69 kB / 0.5601 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1779, allocations: 99.58 kB / 0.5602 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.1779, allocations: 12 kB / 0.5602 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.1782, allocations: 175.7 kB / 0.5603 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.1783, allocations: 71.81 kB / 0.5604 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.1783, allocations: 73.52 kB / 0.5605 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.1788, allocations: 427.1 kB / 0.5609 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1788, allocations: 0 / 0.5609 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1788, allocations: 0 / 0.5609 GB, free: 7.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1788, allocations: 0 / 0.5609 GB, free: 7.395 MB / 430.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.001227/0.18, allocations: 0.7659 MB / 0.5616 GB, free: 6.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1801, allocations: 12.03 kB / 0.5617 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.1801, allocations: 46.55 kB / 0.5617 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.1802, allocations: 35.62 kB / 0.5617 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.1806, allocations: 311.2 kB / 0.562 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1807, allocations: 16.23 kB / 0.562 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1807, allocations: 23.94 kB / 0.5621 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.1813, allocations: 306.8 kB / 0.5624 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1813, allocations: 0 / 0.5624 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1813, allocations: 15.94 kB / 0.5624 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1813, allocations: 4 kB / 0.5624 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.182, allocations: 300.4 kB / 0.5627 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.183, allocations: 0.6757 MB / 0.5633 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.1837, allocations: 246.6 kB / 0.5636 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1837, allocations: 4 kB / 0.5636 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1837, allocations: 30.56 kB / 0.5636 GB, free: 4.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.1837, allocations: 0 / 0.5636 GB, free: 4.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00151/0.1852, allocations: 0.9583 MB / 0.5645 GB, free: 3.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.1853, allocations: 132.5 kB / 0.5647 GB, free: 3.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1857, allocations: 380.5 kB / 0.565 GB, free: 2.844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1858, allocations: 33.7 kB / 0.5651 GB, free: 2.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1859, allocations: 164.3 kB / 0.5652 GB, free: 2.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.186, allocations: 51.3 kB / 0.5653 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.186, allocations: 4 kB / 0.5653 GB, free: 2.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1861, allocations: 338.8 kB / 0.5656 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.1866, allocations: 255.8 kB / 0.5658 GB, free: 1.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.187, allocations: 255.8 kB / 0.5661 GB, free: 1.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.1875, allocations: 419.9 kB / 0.5665 GB, free: 1.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1875, allocations: 4 kB / 0.5665 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001076/0.1886, allocations: 0.7681 MB / 0.5672 GB, free: 500 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.1888, allocations: 178.2 kB / 0.5674 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1888, allocations: 0 / 0.5674 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1888, allocations: 4 kB / 0.5674 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.189, allocations: 44.08 kB / 0.5674 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.189, allocations: 7.938 kB / 0.5674 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.1892, allocations: 43.81 kB / 0.5675 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.1893, allocations: 16 kB / 0.5675 GB, free: 168 kB / 430.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.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.0002573/0.1895, allocations: 254.9 kB / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.1896, allocations: 35.56 kB / 0.5678 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.1896, allocations: 34.92 kB / 0.5678 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1896, allocations: 4 kB / 0.5678 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1897, allocations: 0 / 0.5678 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1897, allocations: 0 / 0.5678 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.19, allocations: 349.2 kB / 0.5682 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.19, allocations: 3.953 kB / 0.5682 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.1902, allocations: 39.97 kB / 0.5682 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1902, allocations: 0 / 0.5682 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.1903, allocations: 4 kB / 0.5682 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1903, allocations: 7.938 kB / 0.5682 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1903, allocations: 0 / 0.5682 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.1915, allocations: 0.6485 MB / 0.5688 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1916, allocations: 108.8 kB / 0.5689 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.1917, allocations: 11.94 kB / 0.569 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.1921, allocations: 39.95 kB / 0.569 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.1923, allocations: 27.97 kB / 0.569 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.1923, allocations: 4 kB / 0.569 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.1926, allocations: 267 kB / 0.5693 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1926, allocations: 0 / 0.5693 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004357/0.1931, allocations: 115.8 kB / 0.5694 GB, free: 14.1 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 (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.001389/0.1945, allocations: 1.245 MB / 0.5706 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.196, allocations: 0.8672 MB / 0.5715 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1961, allocations: 0 / 0.5715 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.1966, allocations: 394 kB / 0.5718 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.197, allocations: 57.41 kB / 0.5719 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1983, allocations: 0.997 MB / 0.5729 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1987, allocations: 0.7987 MB / 0.5736 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.334e-05/0.1988, allocations: 21.94 kB / 0.5737 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1989, allocations: 87.41 kB / 0.5737 GB, free: 9.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1989, allocations: 3.938 kB / 0.5737 GB, free: 9.406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/0.3471, allocations: 8.023 MB / 0.5816 GB, free: 1.652 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.3473, allocations: 214.4 kB / 0.5818 GB, free: 1.414 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.576, allocations: 4 kB / 0.5818 GB, free: 1.41 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/linux/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) Environment - environmentSimulation: