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.00127/0.00127, allocations: 114.3 kB / 17.12 MB, free: 5.914 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.00125/0.00125, allocations: 195.7 kB / 20.08 MB, free: 2.977 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.482/1.482, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.8474/0.8474, allocations: 129.2 MB / 432.5 MB, free: 13.39 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.91 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4414, allocations: 83.44 MB / 0.6802 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00168/0.4431, allocations: 0.5868 MB / 0.6808 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002502/0.4433, allocations: 35.11 kB / 0.6808 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.4434, allocations: 3.938 kB / 0.6808 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.4434, allocations: 0 / 0.6808 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.4434, allocations: 1.406 kB / 0.6808 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.4436, allocations: 13.23 kB / 0.6808 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.792e-05/0.4437, allocations: 2.75 kB / 0.6808 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.4437, allocations: 5.172 kB / 0.6809 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.4438, allocations: 5.359 kB / 0.6809 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.4438, allocations: 5.594 kB / 0.6809 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.4438, allocations: 0 / 0.6809 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.726e-05/0.4439, allocations: 19.98 kB / 0.6809 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.4439, allocations: 7.188 kB / 0.6809 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.4439, allocations: 5.531 kB / 0.6809 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.444, allocations: 21.78 kB / 0.6809 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.444, allocations: 0 / 0.6809 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.444, allocations: 3.938 kB / 0.6809 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.444, allocations: 3.938 kB / 0.6809 GB, free: 5.453 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.0002565/0.4443, allocations: 356.4 kB / 0.6813 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.4443, allocations: 13.84 kB / 0.6813 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.4443, allocations: 36.02 kB / 0.6813 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.4444, allocations: 6.359 kB / 0.6813 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.629e-05/0.4444, allocations: 165.6 kB / 0.6815 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.4444, allocations: 384 / 0.6815 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.4444, allocations: 2.438 kB / 0.6815 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.4446, allocations: 54.34 kB / 0.6815 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4446, allocations: 7.922 kB / 0.6815 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.4446, allocations: 1.125 kB / 0.6815 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.4446, allocations: 5.312 kB / 0.6815 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.4446, allocations: 31.8 kB / 0.6816 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.4449, allocations: 265.8 kB / 0.6818 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.985e-05/0.445, allocations: 17.98 kB / 0.6818 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.445, allocations: 8.797 kB / 0.6819 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-06/0.445, allocations: 1.219 kB / 0.6819 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.445, allocations: 34.56 kB / 0.6819 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.445, allocations: 1.094 kB / 0.6819 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001875/0.4452, allocations: 72.86 kB / 0.682 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.4452, allocations: 78.14 kB / 0.682 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.4453, allocations: 114.2 kB / 0.6821 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.4453, allocations: 26.77 kB / 0.6822 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.4453, allocations: 106.1 kB / 0.6823 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.4453, allocations: 10.19 kB / 0.6823 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.4454, allocations: 24.88 kB / 0.6823 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.4454, allocations: 320 kB / 0.6826 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.4455, allocations: 11.73 kB / 0.6826 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.4455, allocations: 60.45 kB / 0.6827 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.783e-05/0.4456, allocations: 129 kB / 0.6828 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4456, allocations: 1.125 kB / 0.6828 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001323/0.4457, allocations: 123.6 kB / 0.6829 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.4457, allocations: 31.98 kB / 0.6829 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4458, allocations: 1.969 kB / 0.683 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4458, allocations: 2.219 kB / 0.683 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.4459, allocations: 22.27 kB / 0.683 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4459, allocations: 3.219 kB / 0.683 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.4459, allocations: 8.25 kB / 0.683 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.4459, allocations: 13.59 kB / 0.683 GB, free: 3.238 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.595e-05/0.446, allocations: 143.9 kB / 0.6831 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.446, allocations: 6.672 kB / 0.6831 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.078e-05/0.446, allocations: 4.969 kB / 0.6831 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.446, allocations: 3.938 kB / 0.6831 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.446, allocations: 1.406 kB / 0.6832 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.446, allocations: 0 / 0.6832 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.4461, allocations: 157.8 kB / 0.6833 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4461, allocations: 0 / 0.6833 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.4461, allocations: 8 kB / 0.6833 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4461, allocations: 1.25 kB / 0.6833 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4462, allocations: 1.531 kB / 0.6833 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4462, allocations: 0 / 0.6833 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4462, allocations: 3.938 kB / 0.6833 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.354e-05/0.4462, allocations: 165.1 kB / 0.6835 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.4463, allocations: 78.45 kB / 0.6835 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.4463, allocations: 1.312 kB / 0.6835 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.4463, allocations: 5.344 kB / 0.6836 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.4463, allocations: 5.516 kB / 0.6836 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.4463, allocations: 1.156 kB / 0.6836 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.4464, allocations: 91.09 kB / 0.6836 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4464, allocations: 0 / 0.6836 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.4466, allocations: 13.16 kB / 0.6837 GB, free: 2.504 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.0003062/0.4469, allocations: 0.7138 MB / 0.6844 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.447, allocations: 86.14 kB / 0.6844 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.447, allocations: 1.344 kB / 0.6844 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.4471, allocations: 55.31 kB / 0.6845 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.4473, allocations: 6 kB / 0.6845 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.4476, allocations: 150.2 kB / 0.6846 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.4477, allocations: 0.6781 MB / 0.6853 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.598e-05/0.4478, allocations: 10.39 kB / 0.6853 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.4478, allocations: 12.72 kB / 0.6853 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.4478, allocations: 0 / 0.6853 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.4731, allocations: 1.454 MB / 0.6867 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.503, allocations: 10 kB / 0.6868 GB, free: 15.98 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.851128475740552] Failed to read output from testmodel.py, exit status != 0: 8.569761110004038 8.585230988 8.138287241 Calling exit ...