Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.001481/0.001481, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001054/0.001054, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.953/0.953, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001576/0.001576, allocations: 245.7 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8376/0.8376, allocations: 138.4 MB / 456.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.142e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001168/0.001189, allocations: 0.5386 MB / 0.5569 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004638/0.001653, allocations: 326.9 kB / 0.5572 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.001676, allocations: 0 / 0.5572 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.00169, allocations: 0 / 0.5572 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.001718, allocations: 3.938 kB / 0.5572 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.002043, allocations: 103.5 kB / 0.5573 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.002088, allocations: 11.98 kB / 0.5573 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.002124, allocations: 8 kB / 0.5573 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.002148, allocations: 3.938 kB / 0.5573 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.002193, allocations: 7.984 kB / 0.5573 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.002204, allocations: 0 / 0.5573 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.002413, allocations: 179.8 kB / 0.5575 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.002424, allocations: 0 / 0.5575 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.089e-05/0.002435, allocations: 4 kB / 0.5575 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.002572, allocations: 115.7 kB / 0.5576 GB, free: 14.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002574, allocations: 3.938 kB / 0.5576 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.002575, allocations: 0 / 0.5576 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.002579, allocations: 3.984 kB / 0.5576 GB, free: 14.59 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002616/0.002841, allocations: 372.4 kB / 0.558 GB, free: 14.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.002872, allocations: 8.75 kB / 0.558 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.002898, allocations: 4.938 kB / 0.558 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.002969, allocations: 108.6 kB / 0.5581 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.00298, allocations: 4.375 kB / 0.5581 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.002995, allocations: 4.375 kB / 0.5581 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.74e-05/0.003063, allocations: 59.95 kB / 0.5581 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.003069, allocations: 192 / 0.5581 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.003075, allocations: 384 / 0.5581 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.00308, allocations: 384 / 0.5581 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-06/0.00309, allocations: 11.94 kB / 0.5582 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.369e-05/0.003183, allocations: 97.2 kB / 0.5582 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.819e-05/0.003222, allocations: 39.08 kB / 0.5583 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.003234, allocations: 11.67 kB / 0.5583 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.003843, allocations: 179.9 kB / 0.5585 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.003865, allocations: 33.39 kB / 0.5585 GB, free: 13.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.003866, allocations: 4 kB / 0.5585 GB, free: 13.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000302/0.004168, allocations: 173.7 kB / 0.5587 GB, free: 13.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.004192, allocations: 51.41 kB / 0.5587 GB, free: 13.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.47e-05/0.004247, allocations: 157.9 kB / 0.5589 GB, free: 13.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004256, allocations: 29.92 kB / 0.5589 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.004291, allocations: 134.9 kB / 0.559 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.00431, allocations: 11.88 kB / 0.559 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.004334, allocations: 19.38 kB / 0.5591 GB, free: 12.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.004438, allocations: 0.4961 MB / 0.5595 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.004447, allocations: 0 / 0.5595 GB, free: 12.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.004466, allocations: 23.36 kB / 0.5596 GB, free: 12.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.004496, allocations: 27.38 kB / 0.5596 GB, free: 12.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.004498, allocations: 0 / 0.5596 GB, free: 12.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.387e-05/0.004561, allocations: 61.58 kB / 0.5596 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.004572, allocations: 4 kB / 0.5597 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004576, allocations: 3.938 kB / 0.5597 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.004586, allocations: 4 kB / 0.5597 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.004623, allocations: 4 kB / 0.5597 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004626, allocations: 0 / 0.5597 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.004636, allocations: 3.938 kB / 0.5597 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.004641, allocations: 4 kB / 0.5597 GB, free: 12.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.562e-05/0.004696, allocations: 152.6 kB / 0.5598 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.004705, allocations: 7.938 kB / 0.5598 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.004802, allocations: 61.41 kB / 0.5599 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.004804, allocations: 0 / 0.5599 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004805, allocations: 0 / 0.5599 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004808, allocations: 0 / 0.5599 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.342e-05/0.004871, allocations: 105.2 kB / 0.56 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004872, allocations: 0 / 0.56 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.004899, allocations: 7.984 kB / 0.56 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.0049, allocations: 0 / 0.56 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.004904, allocations: 4 kB / 0.56 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004905, allocations: 0 / 0.56 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004906, allocations: 0 / 0.56 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.463e-05/0.004991, allocations: 92.31 kB / 0.5601 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.004998, allocations: 7.953 kB / 0.5601 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-06/0.005004, allocations: 0 / 0.5601 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.005023, allocations: 7.984 kB / 0.5601 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.005033, allocations: 0 / 0.5601 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.005036, allocations: 432 / 0.5601 GB, free: 11.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.005066, allocations: 127.2 kB / 0.5602 GB, free: 11.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005066, allocations: 0 / 0.5602 GB, free: 11.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.005225, allocations: 35.92 kB / 0.5603 GB, free: 11.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001392/0.005364, allocations: 130.6 kB / 0.5604 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.057e-05/0.005425, allocations: 27.61 kB / 0.5604 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005426, allocations: 0 / 0.5604 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.005438, allocations: 19.67 kB / 0.5604 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.005543, allocations: 7.938 kB / 0.5604 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001682/0.005712, allocations: 118.2 kB / 0.5605 GB, free: 11.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.348e-05/0.005735, allocations: 51.36 kB / 0.5606 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.05e-05/0.005756, allocations: 4 kB / 0.5606 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.005797, allocations: 74.19 kB / 0.5607 GB, free: 11.07 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005798, allocations: 8.125 kB / 0.5607 GB, free: 11.07 MB / 490.7 MB Notification: Performance of Templates: time 0.002882/0.00868, allocations: 1.475 MB / 0.5621 GB, free: 9.633 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7384785851463675]