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.0009741/0.0009741, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001073/0.001073, allocations: 173 kB / 23.49 MB, free: 1.055 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.061/1.061, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.001655/0.001655, allocations: 237.5 kB / 260.5 MB, free: 12.9 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.7337/0.7337, allocations: 138.4 MB / 455.4 MB, free: 30 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 2.044e-06/2.044e-06, allocations: 0 / 0.555 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.307e-05, allocations: 2.312 kB / 0.555 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002135/0.002168, allocations: 0.5482 MB / 0.5555 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.002904, allocations: 318.9 kB / 0.5558 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.002934, allocations: 0 / 0.5558 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.002953, allocations: 0 / 0.5558 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.204e-05/0.002985, allocations: 4 kB / 0.5558 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.003528, allocations: 115.4 kB / 0.556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.003595, allocations: 7.984 kB / 0.556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.003646, allocations: 4 kB / 0.556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.003685, allocations: 4 kB / 0.556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.003756, allocations: 11.92 kB / 0.556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.003778, allocations: 4 kB / 0.556 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.004122, allocations: 179.8 kB / 0.5562 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.004137, allocations: 0 / 0.5562 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.004158, allocations: 4 kB / 0.5562 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.004384, allocations: 111.7 kB / 0.5563 GB, free: 15.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004386, allocations: 0 / 0.5563 GB, free: 15.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004387, allocations: 0 / 0.5563 GB, free: 15.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.004392, allocations: 0 / 0.5563 GB, free: 15.21 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.0003501/0.004742, allocations: 368.5 kB / 0.5566 GB, free: 14.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.004788, allocations: 12.69 kB / 0.5566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.00483, allocations: 4.938 kB / 0.5566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.004932, allocations: 116.6 kB / 0.5567 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.004948, allocations: 4.375 kB / 0.5568 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.004971, allocations: 4.375 kB / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.00508, allocations: 59.95 kB / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.005087, allocations: 192 / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005097, allocations: 384 / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.005105, allocations: 384 / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.005125, allocations: 7.938 kB / 0.5568 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.005277, allocations: 120.6 kB / 0.5569 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.00533, allocations: 35.03 kB / 0.557 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.005354, allocations: 11.69 kB / 0.557 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.006356, allocations: 175.9 kB / 0.5572 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.006387, allocations: 41.39 kB / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.006388, allocations: 0 / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005791/0.006967, allocations: 177.7 kB / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.007003, allocations: 51.41 kB / 0.5574 GB, free: 13.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.007096, allocations: 165.9 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.007108, allocations: 25.7 kB / 0.5576 GB, free: 13.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.007155, allocations: 126.9 kB / 0.5577 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.007183, allocations: 19.84 kB / 0.5577 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.007219, allocations: 19.59 kB / 0.5577 GB, free: 13.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.007373, allocations: 0.4923 MB / 0.5582 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.007389, allocations: 4 kB / 0.5582 GB, free: 12.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.00742, allocations: 19.61 kB / 0.5583 GB, free: 12.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.007468, allocations: 31.31 kB / 0.5583 GB, free: 12.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007469, allocations: 0 / 0.5583 GB, free: 12.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.751e-05/0.007556, allocations: 53.62 kB / 0.5583 GB, free: 12.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.00757, allocations: 4 kB / 0.5583 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007576, allocations: 0 / 0.5583 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.007591, allocations: 8.094 kB / 0.5583 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.007644, allocations: 11.98 kB / 0.5584 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.007652, allocations: 7.922 kB / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.007667, allocations: 0 / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.007678, allocations: 4 kB / 0.5584 GB, free: 12.81 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 8.085e-05/0.007759, allocations: 156.6 kB / 0.5585 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.007776, allocations: 4 kB / 0.5585 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.007887, allocations: 53.31 kB / 0.5586 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007889, allocations: 0 / 0.5586 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007893, allocations: 0 / 0.5586 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.007897, allocations: 7.938 kB / 0.5586 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.129e-05/0.007988, allocations: 116.6 kB / 0.5587 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.00799, allocations: 0 / 0.5587 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.008038, allocations: 4 kB / 0.5587 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00804, allocations: 4 kB / 0.5587 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.008046, allocations: 0 / 0.5587 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.008048, allocations: 0 / 0.5587 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008049, allocations: 0 / 0.5587 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.008178, allocations: 96.25 kB / 0.5588 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.008184, allocations: 0 / 0.5588 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.008198, allocations: 8 kB / 0.5588 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.459e-05/0.008223, allocations: 4.031 kB / 0.5588 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.008235, allocations: 0 / 0.5588 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.008246, allocations: 11.98 kB / 0.5588 GB, free: 12.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.008289, allocations: 123.1 kB / 0.5589 GB, free: 12.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008289, allocations: 0 / 0.5589 GB, free: 12.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.008552, allocations: 27.94 kB / 0.559 GB, free: 12.13 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.0001989/0.008751, allocations: 135.2 kB / 0.5591 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.41e-05/0.008835, allocations: 19.67 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008837, allocations: 128 / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.008858, allocations: 23.62 kB / 0.5591 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.009026, allocations: 4 kB / 0.5591 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.009295, allocations: 114.3 kB / 0.5592 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.19e-05/0.009337, allocations: 63.28 kB / 0.5593 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.565e-05/0.009363, allocations: 4 kB / 0.5593 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.009385, allocations: 8.5 kB / 0.5593 GB, free: 11.7 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009386, allocations: 0 / 0.5593 GB, free: 11.7 MB / 490.7 MB Notification: Performance of Templates: time 0.0044/0.01379, allocations: 1.3 MB / 0.5606 GB, free: 10.45 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.7532022050581872]