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.0008985/0.0008985, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001075/0.001075, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8694/0.8694, 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.001366/0.001366, allocations: 238.5 kB / 259.4 MB, free: 13 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.6515/0.6515, allocations: 138.4 MB / 454.3 MB, free: 30.05 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.823e-06/1.823e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.096e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.2296/0.2296, allocations: 2.032 MB / 0.6483 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2312, allocations: 1.134 MB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2313, allocations: 8.125 kB / 0.6494 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.2317, allocations: 107.1 kB / 0.6495 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.2318, allocations: 56.34 kB / 0.6496 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.2325, allocations: 264.3 kB / 0.6498 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.2327, allocations: 298.6 kB / 0.6501 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2329, allocations: 71.91 kB / 0.6502 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.233, allocations: 155.7 kB / 0.6503 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2331, allocations: 107 kB / 0.6504 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.2332, allocations: 30.88 kB / 0.6504 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.2335, allocations: 235.5 kB / 0.6507 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.2336, allocations: 96.23 kB / 0.6508 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.2337, allocations: 99.09 kB / 0.6508 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.2341, allocations: 0.6119 MB / 0.6514 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2341, allocations: 0 / 0.6514 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2342, allocations: 0.5625 kB / 0.6514 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.2342, allocations: 0.9375 kB / 0.6514 GB, free: 55.25 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.0007692/0.2349, allocations: 0.7402 MB / 0.6522 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.235, allocations: 12.09 kB / 0.6522 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.235, allocations: 48.98 kB / 0.6522 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.2351, allocations: 37.33 kB / 0.6523 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.2353, allocations: 262.5 kB / 0.6525 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2353, allocations: 14.25 kB / 0.6525 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.2353, allocations: 15.59 kB / 0.6525 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.2357, allocations: 383.8 kB / 0.6529 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2358, allocations: 1.406 kB / 0.6529 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.2358, allocations: 12.72 kB / 0.6529 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2358, allocations: 3.844 kB / 0.6529 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.2362, allocations: 367.3 kB / 0.6533 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.2368, allocations: 0.5737 MB / 0.6538 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.2371, allocations: 321 kB / 0.6541 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.2374, allocations: 273.2 kB / 0.6544 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2374, allocations: 4.734 kB / 0.6544 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.2374, allocations: 32.41 kB / 0.6544 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.2374, allocations: 0 / 0.6544 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.0008176/0.2382, allocations: 0.8534 MB / 0.6553 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.2383, allocations: 138.4 kB / 0.6554 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.2385, allocations: 380.1 kB / 0.6558 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2386, allocations: 31.45 kB / 0.6558 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.2386, allocations: 164.4 kB / 0.656 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.2386, allocations: 49.52 kB / 0.656 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.2387, allocations: 43.36 kB / 0.656 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.2388, allocations: 345.3 kB / 0.6564 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.239, allocations: 418.7 kB / 0.6568 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.2393, allocations: 428.5 kB / 0.6572 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.2398, allocations: 0.6927 MB / 0.6579 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2398, allocations: 0 / 0.6579 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006825/0.2405, allocations: 0.9207 MB / 0.6588 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.2406, allocations: 185.6 kB / 0.6589 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2406, allocations: 0 / 0.6589 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2406, allocations: 1.531 kB / 0.6589 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.2407, allocations: 27.12 kB / 0.659 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2407, allocations: 3.141 kB / 0.659 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2408, allocations: 49 kB / 0.659 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2409, allocations: 12.81 kB / 0.659 GB, free: 50.03 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.0001403/0.241, allocations: 254.4 kB / 0.6593 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.241, allocations: 34.22 kB / 0.6593 GB, free: 49.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.2411, allocations: 29.2 kB / 0.6593 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2411, allocations: 6.5 kB / 0.6593 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2411, allocations: 0 / 0.6593 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2411, allocations: 0 / 0.6593 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.2413, allocations: 287.3 kB / 0.6596 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2413, allocations: 0 / 0.6596 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.2414, allocations: 28.09 kB / 0.6596 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2414, allocations: 5.312 kB / 0.6596 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2414, allocations: 5.531 kB / 0.6596 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2414, allocations: 4 kB / 0.6596 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2414, allocations: 0 / 0.6596 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.242, allocations: 0.7105 MB / 0.6603 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.242, allocations: 32.45 kB / 0.6604 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.242, allocations: 7.375 kB / 0.6604 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2422, allocations: 31.39 kB / 0.6604 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.2423, allocations: 26.14 kB / 0.6604 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2423, allocations: 11.62 kB / 0.6604 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001827/0.2425, allocations: 273.3 kB / 0.6607 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2425, allocations: 0 / 0.6607 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003616/0.2428, allocations: 107.3 kB / 0.6608 GB, free: 48.88 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.0008596/0.2437, allocations: 1.312 MB / 0.6621 GB, free: 47.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007275/0.2444, allocations: 1.087 MB / 0.6632 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2444, allocations: 4 kB / 0.6632 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.2447, allocations: 459.8 kB / 0.6636 GB, free: 46.71 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.245, allocations: 74.03 kB / 0.6637 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.2486, allocations: 5.289 MB / 0.6688 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2488, allocations: 179.6 kB / 0.669 GB, free: 43.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.482e-05/0.2488, allocations: 25.19 kB / 0.669 GB, free: 43.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.2489, allocations: 92.55 kB / 0.6691 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.2489, allocations: 0 / 0.6691 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.2736, allocations: 9.921 MB / 0.6788 GB, free: 41.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.827, allocations: 8.219 kB / 0.6788 GB, free: 41.79 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 & /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 sys.exit(0), Time elapsed: 9.287262639962137] Failed to read output from testmodel.py, exit status != 0: 6.908923036418855 6.916927018 6.680885807 Calling exit ...