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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 103.6 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 198.7 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7956/0.7956, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 75.88 kB / 0.4945 GB, free: 3.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4214, allocations: 78.7 MB / 0.5713 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001963/0.4234, allocations: 0.6389 MB / 0.572 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.4236, allocations: 38.77 kB / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.4237, allocations: 0 / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.4237, allocations: 5.594 kB / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.4238, allocations: 2.281 kB / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.424, allocations: 6.906 kB / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.498e-05/0.4241, allocations: 9.578 kB / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.4241, allocations: 2.172 kB / 0.572 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.4242, allocations: 5.203 kB / 0.572 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.227e-05/0.4242, allocations: 2.672 kB / 0.572 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.4242, allocations: 1 kB / 0.572 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.4243, allocations: 19.03 kB / 0.572 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.4243, allocations: 6.641 kB / 0.5721 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.4244, allocations: 11.19 kB / 0.5721 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.521e-05/0.4245, allocations: 18.08 kB / 0.5721 GB, free: 30.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4245, allocations: 4 kB / 0.5721 GB, free: 30.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4245, allocations: 1.062 kB / 0.5721 GB, free: 30.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.4245, allocations: 0 / 0.5721 GB, free: 30.9 MB / 446.1 MB 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.0002933/0.4248, allocations: 351.2 kB / 0.5724 GB, free: 30.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4249, allocations: 10.28 kB / 0.5724 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.4249, allocations: 10.19 kB / 0.5724 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.425, allocations: 167.6 kB / 0.5726 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.425, allocations: 2.031 kB / 0.5726 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.425, allocations: 2.406 kB / 0.5726 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4252, allocations: 59.41 kB / 0.5727 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4252, allocations: 1.375 kB / 0.5727 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4252, allocations: 8.797 kB / 0.5727 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.4252, allocations: 6.188 kB / 0.5727 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.4253, allocations: 25.16 kB / 0.5727 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.4256, allocations: 263.2 kB / 0.5729 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.4257, allocations: 23.61 kB / 0.573 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.4257, allocations: 11.69 kB / 0.573 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-06/0.4257, allocations: 0 / 0.573 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.4257, allocations: 33.25 kB / 0.573 GB, free: 29.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4257, allocations: 0 / 0.573 GB, free: 29.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001665/0.4259, allocations: 66.27 kB / 0.5731 GB, free: 29.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4259, allocations: 82.11 kB / 0.5732 GB, free: 29.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.426, allocations: 123.6 kB / 0.5733 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.426, allocations: 26.39 kB / 0.5733 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.4261, allocations: 101.1 kB / 0.5734 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.4261, allocations: 19.55 kB / 0.5734 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.4261, allocations: 22.19 kB / 0.5734 GB, free: 29.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.4262, allocations: 317.5 kB / 0.5737 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.4262, allocations: 11.02 kB / 0.5737 GB, free: 29.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.4263, allocations: 58.19 kB / 0.5738 GB, free: 29.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.4263, allocations: 132.3 kB / 0.5739 GB, free: 28.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4264, allocations: 2.031 kB / 0.5739 GB, free: 28.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001379/0.4265, allocations: 122.1 kB / 0.574 GB, free: 28.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.4265, allocations: 35.61 kB / 0.5741 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4265, allocations: 1.469 kB / 0.5741 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4266, allocations: 3.656 kB / 0.5741 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.4266, allocations: 12.53 kB / 0.5741 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4267, allocations: 3.562 kB / 0.5741 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.4267, allocations: 8.406 kB / 0.5741 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.4267, allocations: 10.81 kB / 0.5741 GB, free: 28.81 MB / 446.1 MB 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 7.021e-05/0.4268, allocations: 152.6 kB / 0.5743 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.4268, allocations: 1.312 kB / 0.5743 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.4269, allocations: 6.797 kB / 0.5743 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4269, allocations: 1.719 kB / 0.5743 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4269, allocations: 1.344 kB / 0.5743 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4269, allocations: 0.7031 kB / 0.5743 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.427, allocations: 156.9 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.427, allocations: 1.938 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.427, allocations: 0.8125 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.427, allocations: 1.031 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.427, allocations: 2.812 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.427, allocations: 0.7969 kB / 0.5744 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.427, allocations: 4 kB / 0.5744 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.4271, allocations: 174.1 kB / 0.5746 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.4272, allocations: 79.53 kB / 0.5747 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4272, allocations: 1.469 kB / 0.5747 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-05/0.4273, allocations: 2.812 kB / 0.5747 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.4273, allocations: 1.781 kB / 0.5747 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.4273, allocations: 3.328 kB / 0.5747 GB, free: 28.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.4273, allocations: 90.03 kB / 0.5748 GB, free: 28.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4273, allocations: 1.438 kB / 0.5748 GB, free: 28.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.4276, allocations: 16.28 kB / 0.5748 GB, free: 28.1 MB / 446.1 MB 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.0001586/0.4277, allocations: 106.2 kB / 0.5749 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.4279, allocations: 85.42 kB / 0.575 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4279, allocations: 0 / 0.575 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.4279, allocations: 56.58 kB / 0.575 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.4281, allocations: 11.19 kB / 0.575 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.4284, allocations: 112.5 kB / 0.5751 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.4285, allocations: 0.6777 MB / 0.5758 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.4286, allocations: 11.19 kB / 0.5758 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.4286, allocations: 9.438 kB / 0.5758 GB, free: 27.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4286, allocations: 0 / 0.5758 GB, free: 27.06 MB / 446.1 MB Notification: Performance of Templates: time 0.002864/0.4315, allocations: 0.5108 MB / 0.5763 GB, free: 27.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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)