Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001297/0.001297, allocations: 111.6 kB / 16.41 MB, free: 6.52 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.001674/0.001674, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002545/0.002545, allocations: 279.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9957/0.9957, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 99.84 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4259, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001665/0.4276, allocations: 0.589 MB / 0.7677 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.4279, allocations: 35.88 kB / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.4279, allocations: 0 / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.4279, allocations: 4 kB / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.633e-05/0.4279, allocations: 3.984 kB / 0.7677 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.4281, allocations: 7.938 kB / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.4282, allocations: 11.98 kB / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.4283, allocations: 0 / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.4283, allocations: 4 kB / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.4283, allocations: 7.938 kB / 0.7677 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.4283, allocations: 0 / 0.7677 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.4284, allocations: 19.98 kB / 0.7678 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.4284, allocations: 11.98 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.4285, allocations: 3.938 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.4286, allocations: 23.77 kB / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4286, allocations: 3.938 kB / 0.7678 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4286, allocations: 4 kB / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.4286, allocations: 0 / 0.7678 GB, free: 3.164 MB / 0.5294 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.0003805/0.429, allocations: 348.8 kB / 0.7681 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.429, allocations: 8.031 kB / 0.7681 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.429, allocations: 4.891 kB / 0.7681 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.4291, allocations: 166.6 kB / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4292, allocations: 4.375 kB / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.4292, allocations: 384 / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4293, allocations: 62.17 kB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4293, allocations: 192 / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4293, allocations: 7.922 kB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.4294, allocations: 11.98 kB / 0.7684 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.4294, allocations: 31.98 kB / 0.7684 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.4298, allocations: 256.8 kB / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.4298, allocations: 30.5 kB / 0.7687 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.4298, allocations: 8.844 kB / 0.7687 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-06/0.4298, allocations: 0 / 0.7687 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4299, allocations: 34.62 kB / 0.7687 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.4299, allocations: 4 kB / 0.7687 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001721/0.4301, allocations: 63.39 kB / 0.7688 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.4301, allocations: 85.05 kB / 0.7689 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.4302, allocations: 113.8 kB / 0.769 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.4302, allocations: 29.7 kB / 0.769 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.4303, allocations: 103.9 kB / 0.7691 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.4303, allocations: 7.984 kB / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.4303, allocations: 25.8 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4305, allocations: 318.8 kB / 0.7694 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.4305, allocations: 15.98 kB / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.4306, allocations: 54.86 kB / 0.7695 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.4307, allocations: 134.1 kB / 0.7696 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4307, allocations: 0 / 0.7696 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001512/0.4308, allocations: 115.2 kB / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.4309, allocations: 33.7 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4309, allocations: 0 / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4309, allocations: 7.938 kB / 0.7698 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.431, allocations: 15.92 kB / 0.7698 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.431, allocations: 4 kB / 0.7698 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.431, allocations: 11.89 kB / 0.7698 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.4311, allocations: 12.25 kB / 0.7698 GB, free: 0.7656 MB / 0.5294 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 0.0001074/0.4312, allocations: 150.7 kB / 0.77 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4312, allocations: 0 / 0.77 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.4312, allocations: 11.52 kB / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4312, allocations: 0 / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.4312, allocations: 0 / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4312, allocations: 0 / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.4314, allocations: 157.6 kB / 0.7701 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4314, allocations: 0 / 0.7701 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.4314, allocations: 0 / 0.7701 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.4314, allocations: 4 kB / 0.7701 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4314, allocations: 4 kB / 0.7701 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4314, allocations: 0 / 0.7701 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4314, allocations: 0 / 0.7701 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.4315, allocations: 169.2 kB / 0.7703 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.4316, allocations: 81.06 kB / 0.7704 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4316, allocations: 4 kB / 0.7704 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.4316, allocations: 4.031 kB / 0.7704 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.4316, allocations: 0 / 0.7704 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.4317, allocations: 8 kB / 0.7704 GB, free: 84 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.307e-05/0.4317, allocations: 99.27 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4317, allocations: 0 / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002478/0.432, allocations: 11.94 kB / 0.7705 GB, free: 15.97 MB / 0.545 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.0001629/0.4321, allocations: 111.2 kB / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.4323, allocations: 91.27 kB / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4323, allocations: 0 / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.4323, allocations: 59.41 kB / 0.7708 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.4325, allocations: 2.5 kB / 0.7708 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.4328, allocations: 105 kB / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4331, allocations: 0.6768 MB / 0.7715 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.264e-05/0.4332, allocations: 20.3 kB / 0.7715 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.4332, allocations: 11.38 kB / 0.7716 GB, free: 14.82 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4332, allocations: 0 / 0.7716 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Templates: time 0.002958/0.4361, allocations: 0.5311 MB / 0.7721 GB, free: 14.3 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)