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.000906/0.000906, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009851/0.0009851, allocations: 181 kB / 23.36 MB, free: 1.125 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.002457/0.002457, allocations: 253.6 kB / 260.5 MB, free: 12.69 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.7526/0.7526, allocations: 138.4 MB / 402.2 MB, free: 0.5078 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.553e-06/1.553e-06, allocations: 0 / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.2e-05, allocations: 4.812 kB / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.004716/0.004738, allocations: 0.597 MB / 463 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005585/0.005297, allocations: 314.7 kB / 463.3 MB, free: 392 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.00532, allocations: 1.719 kB / 463.3 MB, free: 392 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.005333, allocations: 0.625 kB / 463.3 MB, free: 392 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.005367, allocations: 4.594 kB / 463.3 MB, free: 388 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.005735, allocations: 76.89 kB / 463.3 MB, free: 360 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.005786, allocations: 14.38 kB / 463.4 MB, free: 356 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.005823, allocations: 3.656 kB / 463.4 MB, free: 356 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.00586, allocations: 4.688 kB / 463.4 MB, free: 356 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.005912, allocations: 7.375 kB / 463.4 MB, free: 352 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.005925, allocations: 1.219 kB / 463.4 MB, free: 352 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.006301, allocations: 204.3 kB / 463.6 MB, free: 316 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.006321, allocations: 6.5 kB / 463.6 MB, free: 312 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.006336, allocations: 6.969 kB / 463.6 MB, free: 308 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.006513, allocations: 109.9 kB / 463.7 MB, free: 272 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.006516, allocations: 1.25 kB / 463.7 MB, free: 272 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006517, allocations: 0.8125 kB / 463.7 MB, free: 272 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.006521, allocations: 1.469 kB / 463.7 MB, free: 272 kB / 410.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.0002046/0.006726, allocations: 236.5 kB / 463.9 MB, free: 28 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.006763, allocations: 11.3 kB / 463.9 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.006788, allocations: 3.781 kB / 463.9 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.006892, allocations: 117.9 kB / 464.1 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.006903, allocations: 6.062 kB / 464.1 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.006921, allocations: 3.375 kB / 464.1 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/0.006998, allocations: 58.66 kB / 464.1 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.007004, allocations: 192 / 464.1 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.007011, allocations: 1.031 kB / 464.1 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.007016, allocations: 3.812 kB / 464.1 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.461e-05/0.00703, allocations: 10.56 kB / 464.1 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.157e-05/0.007122, allocations: 57.2 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.007161, allocations: 24.77 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.007174, allocations: 6.891 kB / 464.2 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003763/0.01094, allocations: 180.2 kB / 464.4 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.01096, allocations: 33.86 kB / 464.4 MB, free: 15.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.01097, allocations: 2.312 kB / 464.4 MB, free: 15.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004122/0.01138, allocations: 166.9 kB / 464.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.0114, allocations: 58.77 kB / 464.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.01146, allocations: 104 kB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.01147, allocations: 26.92 kB / 464.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.01149, allocations: 82.08 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.01152, allocations: 20.77 kB / 464.9 MB, free: 15.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.01155, allocations: 14.88 kB / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.01163, allocations: 321.8 kB / 465.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.01164, allocations: 2.312 kB / 465.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.01166, allocations: 16.2 kB / 465.2 MB, free: 14.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.0117, allocations: 23.25 kB / 465.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.0117, allocations: 0 / 465.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.562e-05/0.01176, allocations: 48.08 kB / 465.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.01178, allocations: 6.375 kB / 465.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01178, allocations: 1.062 kB / 465.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01179, allocations: 2.344 kB / 465.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.01183, allocations: 6.781 kB / 465.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.01183, allocations: 2.438 kB / 465.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.01185, allocations: 1.906 kB / 465.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.01185, allocations: 3.938 kB / 465.3 MB, free: 14.8 MB / 426.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 4.93e-05/0.0119, allocations: 114 kB / 465.4 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.01191, allocations: 2.281 kB / 465.4 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.01199, allocations: 50.92 kB / 465.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01199, allocations: 3.688 kB / 465.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01199, allocations: 0.5469 kB / 465.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01199, allocations: 2.75 kB / 465.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.771e-05/0.01205, allocations: 71.75 kB / 465.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01205, allocations: 0.7969 kB / 465.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.01208, allocations: 4.703 kB / 465.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01208, allocations: 3.562 kB / 465.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.01209, allocations: 0.6562 kB / 465.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01209, allocations: 1.156 kB / 465.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01209, allocations: 1.125 kB / 465.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.235e-05/0.01218, allocations: 75.69 kB / 465.6 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.01219, allocations: 2.047 kB / 465.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.01219, allocations: 2.344 kB / 465.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.01221, allocations: 2.859 kB / 465.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.01223, allocations: 3.438 kB / 465.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.01223, allocations: 0 / 465.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.968e-06/0.01224, allocations: 9.609 kB / 465.7 MB, free: 14.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01224, allocations: 0 / 465.7 MB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.01239, allocations: 34.98 kB / 465.7 MB, free: 14.48 MB / 426.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.0001503/0.01254, allocations: 117.5 kB / 465.8 MB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.537e-05/0.01259, allocations: 19.91 kB / 465.8 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.0126, allocations: 1.094 kB / 465.8 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.01261, allocations: 15.27 kB / 465.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.72e-05/0.01268, allocations: 7.219 kB / 465.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.01285, allocations: 116.1 kB / 466 MB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.939e-05/0.01288, allocations: 55.58 kB / 466 MB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.01291, allocations: 6.281 kB / 466 MB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.01295, allocations: 56.16 kB / 466.1 MB, free: 14.14 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01295, allocations: 1.125 kB / 466.1 MB, free: 14.14 MB / 426.7 MB Notification: Performance of Templates: time 0.003736/0.01668, allocations: 1.49 MB / 467.6 MB, free: 13.23 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.572885517962277]