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.001857/0.001857, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002015/0.002015, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 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 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003267/0.003267, allocations: 230.3 kB / 259.8 MB, free: 12.86 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 1.177/1.177, allocations: 138.4 MB / 454.7 MB, free: 1.535 MB / 362.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.413e-06/1.413e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.73e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001663/0.00169, allocations: 0.5326 MB / 0.5548 GB, free: 388 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007262/0.002417, allocations: 315 kB / 0.5551 GB, free: 72 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.002439, allocations: 0 / 0.5551 GB, free: 72 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.002455, allocations: 3.938 kB / 0.5551 GB, free: 68 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.416e-05/0.002489, allocations: 0 / 0.5551 GB, free: 68 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.002925, allocations: 103.6 kB / 0.5552 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.002977, allocations: 19.92 kB / 0.5553 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.00301, allocations: 3.938 kB / 0.5553 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.003044, allocations: 4 kB / 0.5553 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.003094, allocations: 3.984 kB / 0.5553 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.003109, allocations: 4 kB / 0.5553 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.003451, allocations: 179.8 kB / 0.5554 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.003464, allocations: 3.938 kB / 0.5554 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.003479, allocations: 0 / 0.5554 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.003704, allocations: 115.7 kB / 0.5556 GB, free: 15.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.003711, allocations: 4 kB / 0.5556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003712, allocations: 4 kB / 0.5556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003716, allocations: 0 / 0.5556 GB, free: 15.63 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.0005624/0.004278, allocations: 364.1 kB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.004329, allocations: 8.75 kB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.004377, allocations: 8.938 kB / 0.5559 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.004492, allocations: 108.6 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004503, allocations: 384 / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.004529, allocations: 8.328 kB / 0.556 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004653, allocations: 63.89 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.004663, allocations: 4.172 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004673, allocations: 8.375 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.004677, allocations: 4.312 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.0047, allocations: 7.938 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.004872, allocations: 108.6 kB / 0.5562 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.004939, allocations: 35.08 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.004968, allocations: 15.75 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.006293, allocations: 171.8 kB / 0.5564 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.006338, allocations: 41.33 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.006339, allocations: 0 / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005344/0.006873, allocations: 185.8 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.006917, allocations: 51.62 kB / 0.5567 GB, free: 14.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.007044, allocations: 169.9 kB / 0.5569 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.007065, allocations: 25.7 kB / 0.5569 GB, free: 14.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.007141, allocations: 130.9 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.007171, allocations: 11.91 kB / 0.557 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.007226, allocations: 23.38 kB / 0.5571 GB, free: 13.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.007481, allocations: 492.1 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.007507, allocations: 11.98 kB / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.007545, allocations: 23.38 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.247e-05/0.007607, allocations: 35.31 kB / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.007608, allocations: 0 / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.007709, allocations: 57.69 kB / 0.5576 GB, free: 13.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.007723, allocations: 4 kB / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007727, allocations: 0 / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.007739, allocations: 0 / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.306e-05/0.007792, allocations: 11.94 kB / 0.5577 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.007804, allocations: 7.922 kB / 0.5577 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.00782, allocations: 3.984 kB / 0.5577 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.007829, allocations: 4 kB / 0.5577 GB, free: 13.21 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 0.0001089/0.007938, allocations: 156.6 kB / 0.5578 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.007955, allocations: 7.953 kB / 0.5578 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.00808, allocations: 57.31 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008082, allocations: 3.938 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.008084, allocations: 0 / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.008092, allocations: 3.938 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.008216, allocations: 116.6 kB / 0.558 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008217, allocations: 0 / 0.558 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.008268, allocations: 11.94 kB / 0.558 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008269, allocations: 0 / 0.558 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.008276, allocations: 4 kB / 0.558 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008277, allocations: 0 / 0.558 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.00828, allocations: 4 kB / 0.558 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.008439, allocations: 96.72 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.008447, allocations: 4 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.00846, allocations: 4 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.702e-05/0.008487, allocations: 0 / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.008505, allocations: 0 / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.008513, allocations: 4 kB / 0.5581 GB, free: 12.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.327e-05/0.008586, allocations: 127.1 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008586, allocations: 0 / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.008812, allocations: 31.97 kB / 0.5583 GB, free: 12.52 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.0002377/0.009049, allocations: 135.1 kB / 0.5584 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009157, allocations: 27.67 kB / 0.5584 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.009159, allocations: 0 / 0.5584 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.009187, allocations: 15.69 kB / 0.5585 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.009325, allocations: 1.016 kB / 0.5585 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.009592, allocations: 118.2 kB / 0.5586 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.383e-05/0.009656, allocations: 67.45 kB / 0.5586 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.532e-05/0.009681, allocations: 8 kB / 0.5586 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.009702, allocations: 8.5 kB / 0.5586 GB, free: 12.08 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009702, allocations: 0 / 0.5586 GB, free: 12.08 MB / 490.7 MB Notification: Performance of Templates: time 0.004412/0.01411, allocations: 1.307 MB / 0.5599 GB, free: 10.81 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: 5.85145542700775]