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.0009629/0.0009629, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0009608/0.0009608, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8594/0.8594, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001429/0.001429, allocations: 247.9 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6581/0.6581, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6463 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.288e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.1991/0.1991, allocations: 2.031 MB / 0.6483 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2004, allocations: 1.142 MB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.2005, allocations: 1.781 kB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.2008, allocations: 106 kB / 0.6495 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.2009, allocations: 60.25 kB / 0.6496 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.2014, allocations: 257.7 kB / 0.6498 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.2016, allocations: 302.3 kB / 0.6501 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2017, allocations: 71.14 kB / 0.6502 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2018, allocations: 156 kB / 0.6503 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.202, allocations: 105.5 kB / 0.6504 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.202, allocations: 30.12 kB / 0.6504 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.2022, allocations: 237.7 kB / 0.6507 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.2023, allocations: 99.64 kB / 0.6508 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.2024, allocations: 93.72 kB / 0.6509 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.2028, allocations: 0.6172 MB / 0.6515 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2028, allocations: 0 / 0.6515 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2028, allocations: 0.6875 kB / 0.6515 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2028, allocations: 0 / 0.6515 GB, free: 55.35 MB / 0.5573 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.0006449/0.2035, allocations: 0.7367 MB / 0.6522 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2035, allocations: 12 kB / 0.6522 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.2035, allocations: 53.45 kB / 0.6522 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.2036, allocations: 37.83 kB / 0.6523 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2038, allocations: 261.9 kB / 0.6525 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2038, allocations: 14.66 kB / 0.6525 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.2038, allocations: 16.03 kB / 0.6526 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.2042, allocations: 378.4 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2042, allocations: 1.25 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2042, allocations: 11.34 kB / 0.6529 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2042, allocations: 3.5 kB / 0.6529 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.2046, allocations: 372.9 kB / 0.6533 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.2051, allocations: 0.5707 MB / 0.6538 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.2055, allocations: 314.1 kB / 0.6541 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.2057, allocations: 272.3 kB / 0.6544 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.2057, allocations: 4.062 kB / 0.6544 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.2057, allocations: 32.95 kB / 0.6544 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2057, allocations: 0 / 0.6544 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.0007497/0.2065, allocations: 0.8546 MB / 0.6553 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.2065, allocations: 135 kB / 0.6554 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.2067, allocations: 380 kB / 0.6558 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2067, allocations: 35.11 kB / 0.6558 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.2068, allocations: 170.2 kB / 0.656 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2068, allocations: 45.34 kB / 0.656 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.2069, allocations: 47.62 kB / 0.656 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.2069, allocations: 339.6 kB / 0.6564 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.2072, allocations: 420.4 kB / 0.6568 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.2074, allocations: 427.2 kB / 0.6572 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.2079, allocations: 0.6982 MB / 0.6579 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2079, allocations: 2.656 kB / 0.6579 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006012/0.2085, allocations: 0.919 MB / 0.6588 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.2086, allocations: 185.8 kB / 0.6589 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2086, allocations: 1.812 kB / 0.6589 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2086, allocations: 0 / 0.6589 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/0.2087, allocations: 28.31 kB / 0.659 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2087, allocations: 2.031 kB / 0.659 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2088, allocations: 44.88 kB / 0.659 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.2088, allocations: 10.31 kB / 0.659 GB, free: 50.13 MB / 0.5573 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.0001021/0.2089, allocations: 261.1 kB / 0.6593 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.2089, allocations: 36.92 kB / 0.6593 GB, free: 49.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.2089, allocations: 27.09 kB / 0.6593 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2089, allocations: 4.375 kB / 0.6593 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2089, allocations: 0 / 0.6593 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.209, allocations: 5.078 kB / 0.6593 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2091, allocations: 281.8 kB / 0.6596 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2091, allocations: 1.75 kB / 0.6596 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.2092, allocations: 26.33 kB / 0.6596 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2092, allocations: 3 kB / 0.6596 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2092, allocations: 12.89 kB / 0.6597 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2092, allocations: 1.5 kB / 0.6597 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2092, allocations: 0 / 0.6597 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.2097, allocations: 0.7141 MB / 0.6604 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.2098, allocations: 30.61 kB / 0.6604 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2098, allocations: 8.547 kB / 0.6604 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2099, allocations: 24.62 kB / 0.6604 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.21, allocations: 31.09 kB / 0.6604 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.21, allocations: 10.06 kB / 0.6605 GB, free: 49.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001624/0.2101, allocations: 271.7 kB / 0.6607 GB, free: 48.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2101, allocations: 0 / 0.6607 GB, free: 48.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002564/0.2104, allocations: 107.5 kB / 0.6608 GB, free: 48.98 MB / 0.5573 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.0007393/0.2111, allocations: 1.316 MB / 0.6621 GB, free: 47.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006631/0.2118, allocations: 1.084 MB / 0.6632 GB, free: 47.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2118, allocations: 0 / 0.6632 GB, free: 47.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.2121, allocations: 462.5 kB / 0.6636 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2124, allocations: 69.03 kB / 0.6637 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.2159, allocations: 5.295 MB / 0.6688 GB, free: 43.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.216, allocations: 172.5 kB / 0.669 GB, free: 43.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.381e-05/0.2161, allocations: 26.66 kB / 0.669 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.2162, allocations: 92.31 kB / 0.6691 GB, free: 43.3 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.2162, allocations: 0 / 0.6691 GB, free: 43.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.238, allocations: 9.929 MB / 0.6788 GB, free: 41.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.506/6.744, allocations: 5.375 kB / 0.6788 GB, free: 41.88 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.304134679958224] Failed to read output from testmodel.py, exit status != 0: 6.826887708157301 6.835439944 6.6305795419999995 Calling exit ...