Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 117.9 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 190.1 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8413/0.8413, allocations: 128.4 MB / 432.4 MB, free: 13.28 MB / 350.1 MB " [Timeout remaining time 179] 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: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.03 kB / 0.5988 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4001, allocations: 83.26 MB / 0.6801 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001509/0.4016, allocations: 0.5784 MB / 0.6806 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.4019, allocations: 33.05 kB / 0.6807 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.4019, allocations: 0 / 0.6807 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.4019, allocations: 1.5 kB / 0.6807 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.402, allocations: 3.938 kB / 0.6807 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.4022, allocations: 24.72 kB / 0.6807 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.4022, allocations: 2.875 kB / 0.6807 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.4023, allocations: 7.219 kB / 0.6807 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.94e-05/0.4023, allocations: 1.656 kB / 0.6807 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.4023, allocations: 5.438 kB / 0.6807 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4024, allocations: 0 / 0.6807 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-05/0.4024, allocations: 17.27 kB / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.4025, allocations: 2.531 kB / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.4025, allocations: 5.156 kB / 0.6807 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.51e-05/0.4026, allocations: 29.42 kB / 0.6808 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4026, allocations: 0 / 0.6808 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4026, allocations: 4 kB / 0.6808 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4026, allocations: 1.125 kB / 0.6808 GB, free: 6.516 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000276/0.4029, allocations: 353.1 kB / 0.6811 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4029, allocations: 9.594 kB / 0.6811 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.4029, allocations: 6.094 kB / 0.6811 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.806e-05/0.403, allocations: 164.3 kB / 0.6813 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.403, allocations: 5.969 kB / 0.6813 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.403, allocations: 1.719 kB / 0.6813 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.4031, allocations: 58.09 kB / 0.6813 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4031, allocations: 192 / 0.6813 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.4031, allocations: 5.156 kB / 0.6813 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.4032, allocations: 9.109 kB / 0.6814 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.4032, allocations: 23.48 kB / 0.6814 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.4035, allocations: 267.5 kB / 0.6816 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.4035, allocations: 20.64 kB / 0.6817 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.4035, allocations: 9.844 kB / 0.6817 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.4035, allocations: 5.469 kB / 0.6817 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.4035, allocations: 34.5 kB / 0.6817 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4035, allocations: 1.25 kB / 0.6817 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.4037, allocations: 68.7 kB / 0.6818 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.4037, allocations: 86.53 kB / 0.6818 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.4038, allocations: 110.4 kB / 0.682 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.4038, allocations: 25.7 kB / 0.682 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.4038, allocations: 106.8 kB / 0.6821 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.4038, allocations: 5.484 kB / 0.6821 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.4039, allocations: 25.23 kB / 0.6821 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.4039, allocations: 320.1 kB / 0.6824 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.4039, allocations: 11.48 kB / 0.6824 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.404, allocations: 60.89 kB / 0.6825 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.167e-05/0.404, allocations: 132.1 kB / 0.6826 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.404, allocations: 1.531 kB / 0.6826 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.4042, allocations: 119.5 kB / 0.6827 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.4042, allocations: 32.17 kB / 0.6828 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4042, allocations: 1.5 kB / 0.6828 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4042, allocations: 3.438 kB / 0.6828 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.4043, allocations: 22.05 kB / 0.6828 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.4043, allocations: 6.391 kB / 0.6828 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.4043, allocations: 7.844 kB / 0.6828 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.4043, allocations: 5.656 kB / 0.6828 GB, free: 4.348 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 5.324e-05/0.4044, allocations: 149.2 kB / 0.6829 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.4044, allocations: 6.422 kB / 0.6829 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.063e-05/0.4044, allocations: 8.797 kB / 0.683 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.4044, allocations: 0 / 0.683 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4044, allocations: 0 / 0.683 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4044, allocations: 5.531 kB / 0.683 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.4046, allocations: 153.8 kB / 0.6831 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4046, allocations: 0 / 0.6831 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.4046, allocations: 0 / 0.6831 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4046, allocations: 5.094 kB / 0.6831 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4046, allocations: 1.531 kB / 0.6831 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.4046, allocations: 0 / 0.6831 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4046, allocations: 4 kB / 0.6831 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.849e-05/0.4046, allocations: 177.1 kB / 0.6833 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.4047, allocations: 82.42 kB / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.4047, allocations: 1.5 kB / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.4047, allocations: 1.344 kB / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.4047, allocations: 1.281 kB / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.4047, allocations: 1.5 kB / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.4048, allocations: 87.27 kB / 0.6835 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4048, allocations: 0 / 0.6835 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002356/0.405, allocations: 17.09 kB / 0.6835 GB, free: 3.605 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001338/0.4051, allocations: 118.4 kB / 0.6836 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.4053, allocations: 86.61 kB / 0.6837 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.4053, allocations: 0 / 0.6837 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.885e-05/0.4053, allocations: 54.84 kB / 0.6837 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.4055, allocations: 2.875 kB / 0.6837 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.4057, allocations: 141.7 kB / 0.6839 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.4058, allocations: 0.6778 MB / 0.6845 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.082e-05/0.4058, allocations: 10.28 kB / 0.6845 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4058, allocations: 0 / 0.6845 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of Templates: time 0.002186/0.408, allocations: 0.692 MB / 0.6852 GB, free: 2.168 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.753103338880464] Failed to read output from testmodel.py, exit status != 0: 0.4151727419812232 0.42676731500000004 0.02160447 Calling exit ...