Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 105.2 kB / 19.73 MB, free: 2.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 217.4 kB / 23.03 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002703/0.002703, allocations: 278.5 kB / 313.5 MB, free: 2.691 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 95.23 kB / 0.7403 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1636, allocations: 95.39 MB / 0.8334 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003318/0.1669, allocations: 2.04 MB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1687, allocations: 1.13 MB / 0.8365 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.418e-05/0.1688, allocations: 4 kB / 0.8365 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.1691, allocations: 111.6 kB / 0.8366 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1692, allocations: 55.52 kB / 0.8367 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1699, allocations: 263.5 kB / 0.8369 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.1702, allocations: 299.3 kB / 0.8372 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1704, allocations: 72.12 kB / 0.8373 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1705, allocations: 107.6 kB / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1707, allocations: 135.4 kB / 0.8375 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.1707, allocations: 32 kB / 0.8375 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.1711, allocations: 247.7 kB / 0.8378 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1712, allocations: 95.66 kB / 0.8379 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1713, allocations: 119.4 kB / 0.838 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.1719, allocations: 0.5605 MB / 0.8385 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1719, allocations: 0 / 0.8385 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1719, allocations: 0 / 0.8385 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1719, allocations: 0 / 0.8385 GB, free: 3.027 MB / 0.5762 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.001107/0.1731, allocations: 0.7408 MB / 0.8393 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1731, allocations: 8.75 kB / 0.8393 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.746e-05/0.1731, allocations: 8.406 kB / 0.8393 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.1732, allocations: 58.67 kB / 0.8393 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.1732, allocations: 36.7 kB / 0.8394 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.1736, allocations: 262.8 kB / 0.8396 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1736, allocations: 16.66 kB / 0.8396 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1737, allocations: 16.38 kB / 0.8396 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.1743, allocations: 387.9 kB / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1743, allocations: 0 / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1743, allocations: 4 kB / 0.84 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1743, allocations: 8 kB / 0.84 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.175, allocations: 357.5 kB / 0.8404 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.1759, allocations: 0.5847 MB / 0.8409 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.1765, allocations: 307.7 kB / 0.8412 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.1769, allocations: 277.8 kB / 0.8415 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1769, allocations: 3.984 kB / 0.8415 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.177, allocations: 38.56 kB / 0.8415 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.177, allocations: 0 / 0.8415 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.001424/0.1784, allocations: 0.842 MB / 0.8424 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.1785, allocations: 144.5 kB / 0.8425 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.1789, allocations: 380.6 kB / 0.8429 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1789, allocations: 33.64 kB / 0.8429 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1791, allocations: 172.3 kB / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.1791, allocations: 43.64 kB / 0.8431 GB, free: 14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1792, allocations: 45.7 kB / 0.8431 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1794, allocations: 350.7 kB / 0.8435 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.1799, allocations: 418.1 kB / 0.8439 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.1805, allocations: 426 kB / 0.8443 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009677/0.1815, allocations: 0.6974 MB / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1815, allocations: 0 / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00121/0.1827, allocations: 0.9194 MB / 0.8459 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1828, allocations: 182.2 kB / 0.846 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.1828, allocations: 0 / 0.846 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1828, allocations: 0 / 0.846 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.183, allocations: 31.91 kB / 0.8461 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.183, allocations: 4 kB / 0.8461 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.1832, allocations: 51.73 kB / 0.8461 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1832, allocations: 8 kB / 0.8461 GB, free: 10.64 MB / 0.5919 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.0002425/0.1835, allocations: 255.5 kB / 0.8464 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.1835, allocations: 31.81 kB / 0.8464 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.1836, allocations: 30.88 kB / 0.8464 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1836, allocations: 3.984 kB / 0.8464 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1836, allocations: 4 kB / 0.8464 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1836, allocations: 4 kB / 0.8464 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.1839, allocations: 276.5 kB / 0.8467 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1839, allocations: 0 / 0.8467 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.1841, allocations: 31.91 kB / 0.8467 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1841, allocations: 0 / 0.8467 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.1841, allocations: 8 kB / 0.8467 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1841, allocations: 0 / 0.8467 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1841, allocations: 3.984 kB / 0.8467 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1851, allocations: 0.7182 MB / 0.8474 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.1852, allocations: 31.75 kB / 0.8475 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.1852, allocations: 4 kB / 0.8475 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1854, allocations: 27.97 kB / 0.8475 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1855, allocations: 31.95 kB / 0.8475 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1856, allocations: 4 kB / 0.8475 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002923/0.1859, allocations: 279 kB / 0.8478 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1859, allocations: 0 / 0.8478 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004088/0.1863, allocations: 107.8 kB / 0.8479 GB, free: 8.684 MB / 0.5919 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.0015/0.1878, allocations: 1.304 MB / 0.8492 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.1891, allocations: 1.085 MB / 0.8502 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1891, allocations: 0 / 0.8502 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.1896, allocations: 459.1 kB / 0.8507 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1901, allocations: 79.19 kB / 0.8508 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.1964, allocations: 5.283 MB / 0.8559 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.1966, allocations: 178.1 kB / 0.8561 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.697e-05/0.1967, allocations: 21.95 kB / 0.8561 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1969, allocations: 87.41 kB / 0.8562 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of SimCode: time 5.72e-07/0.1969, allocations: 3.938 kB / 0.8562 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2279, allocations: 9.364 MB / 0.8653 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.39, allocations: 3.891 kB / 0.8653 GB, free: 6.609 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.335896149044856] Failed to read output from testmodel.py, exit status != 0: 11.56148047791794 11.577543966 11.402723291 Calling exit ...