Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.0008238/0.0008238, allocations: 80.45 kB / 19.96 MB, free: 4.594 MB / 18.57 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.001117/0.001117, allocations: 173.2 kB / 23.24 MB, free: 1.316 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.8896/0.8896, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.908/1.908, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.198e-05, allocations: 6.219 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001272/0.001294, allocations: 0.6031 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.003129, allocations: 1.733 MB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.003152, allocations: 0 / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.003184, allocations: 7.875 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.044e-05/0.003215, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.004016, allocations: 320.5 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.004169, allocations: 135.8 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.004208, allocations: 4 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.004289, allocations: 59.94 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.004378, allocations: 59.86 kB / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.004402, allocations: 4 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.004796, allocations: 339.5 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.004841, allocations: 35.89 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.004887, allocations: 35.89 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.005226, allocations: 351.2 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005228, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005229, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005234, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004899/0.005724, allocations: 377.7 kB / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.005766, allocations: 9.344 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.005803, allocations: 46.75 kB / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.00584, allocations: 12.84 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.005911, allocations: 121.6 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.005924, allocations: 12.12 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.00594, allocations: 12 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.00617, allocations: 222.6 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.006178, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.006191, allocations: 4 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006197, allocations: 4 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.006389, allocations: 175.8 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.006601, allocations: 237.3 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.007065, allocations: 387.7 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.007217, allocations: 173.1 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.007434, allocations: 44.95 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.007455, allocations: 42.56 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=30): time 1.193e-06/0.007456, allocations: 0 / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30): time 0.0004782/0.007935, allocations: 385.2 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.007997, allocations: 187.9 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.008044, allocations: 93.8 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.008059, allocations: 29.7 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.008081, allocations: 84.64 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.008146, allocations: 103.1 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.008201, allocations: 57.81 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.008285, allocations: 322.8 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.008388, allocations: 91.92 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.008511, allocations: 140 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.008762, allocations: 257 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.008767, allocations: 3.938 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003015/0.009068, allocations: 289.5 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.009082, allocations: 8 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.009088, allocations: 0 / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.009101, allocations: 4 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.009232, allocations: 59.83 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.009239, allocations: 8 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.009292, allocations: 15.89 kB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.009306, allocations: 15.98 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 7.886e-05/0.009385, allocations: 137.7 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.009407, allocations: 15.91 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.009782, allocations: 360.8 kB / 1.009 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.009786, allocations: 4 kB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.009791, allocations: 0.5625 kB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.009796, allocations: 4 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.009954, allocations: 224.5 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009955, allocations: 4 kB / 1.009 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.01007, allocations: 63.89 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01007, allocations: 0 / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01009, allocations: 12 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01009, allocations: 3.984 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01009, allocations: 4 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.0104, allocations: 345.6 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.01046, allocations: 39.86 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01047, allocations: 11.98 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.01052, allocations: 4 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.01055, allocations: 31.95 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.01056, allocations: 8 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.04e-05/0.01058, allocations: 75.28 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 0 / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002641/0.01084, allocations: 99.86 kB / 1.01 GB, free: 3.992 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0006679/0.01151, allocations: 0.9871 MB / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.0118, allocations: 244.3 kB / 1.011 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0118, allocations: 0 / 1.011 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.01192, allocations: 140.2 kB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.01205, allocations: 12 kB / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.01259, allocations: 439.6 kB / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.113e-05/0.01265, allocations: 95.81 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000145/0.0128, allocations: 113.3 kB / 1.011 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.01286, allocations: 48.42 kB / 1.012 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.01286, allocations: 0 / 1.012 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07768/0.09054, allocations: 4.739 MB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.903, allocations: 6.812 kB / 1.016 GB, free: 13.22 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.46810538135469]