Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.0006929/0.0006929, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009374/0.00163, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006967/0.0006967, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000978/0.001675, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9398/0.9398, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08132/1.021, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 232.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.003148, allocations: 474.9 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7372/0.7372, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06259/0.7998, allocations: 42.4 MB / 426.5 MB, free: 5.945 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 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.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 427.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.587e-05, allocations: 2.312 kB / 427.9 MB, free: 4.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001515/0.001531, allocations: 0.643 MB / 428.5 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.00166, allocations: 55.81 kB / 428.5 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.155e-05/0.001672, allocations: 0 / 428.5 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.669e-06/0.001677, allocations: 0 / 428.5 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.333e-06/0.001678, allocations: 0 / 428.5 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.001789, allocations: 11.92 kB / 428.6 MB, free: 3.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.001837, allocations: 4 kB / 428.6 MB, free: 3.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.001882, allocations: 7.984 kB / 428.6 MB, free: 3.836 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.00192, allocations: 3.938 kB / 428.6 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.001952, allocations: 4 kB / 428.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.001967, allocations: 0 / 428.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.002105, allocations: 19.98 kB / 428.6 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.002115, allocations: 4 kB / 428.6 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.022e-05/0.002125, allocations: 0 / 428.6 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.963e-05/0.002225, allocations: 19.92 kB / 428.6 MB, free: 3.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.002244, allocations: 0 / 428.6 MB, free: 3.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.002245, allocations: 0 / 428.6 MB, free: 3.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.002261, allocations: 0 / 428.6 MB, free: 3.785 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002868/0.002548, allocations: 216.8 kB / 428.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.002583, allocations: 11.98 kB / 428.8 MB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.002836, allocations: 90.03 kB / 428.9 MB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/0.002913, allocations: 117.7 kB / 429.1 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.002923, allocations: 384 / 429.1 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.00293, allocations: 384 / 429.1 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.003045, allocations: 50.89 kB / 429.1 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.003052, allocations: 192 / 429.1 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.003058, allocations: 384 / 429.1 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.003064, allocations: 384 / 429.1 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.003088, allocations: 7.938 kB / 429.1 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.615e-05/0.003164, allocations: 57.05 kB / 429.2 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.003209, allocations: 26.55 kB / 429.2 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.003222, allocations: 4.859 kB / 429.2 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.00324, allocations: 0 / 429.2 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.003265, allocations: 34.62 kB / 429.2 MB, free: 3.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.003266, allocations: 0 / 429.2 MB, free: 3.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001003/0.003366, allocations: 33.69 kB / 429.3 MB, free: 3.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.0034, allocations: 51.41 kB / 429.3 MB, free: 2.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.116e-05/0.003431, allocations: 89.86 kB / 429.4 MB, free: 2.867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.003441, allocations: 25.7 kB / 429.4 MB, free: 2.836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.003463, allocations: 80.27 kB / 429.5 MB, free: 2.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.003493, allocations: 19.83 kB / 429.5 MB, free: 2.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.003522, allocations: 13.7 kB / 429.5 MB, free: 2.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.003611, allocations: 322.8 kB / 429.9 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.003623, allocations: 4 kB / 429.9 MB, free: 2.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.00363, allocations: 0 / 429.9 MB, free: 2.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/0.003662, allocations: 8.859 kB / 429.9 MB, free: 2.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.003664, allocations: 0 / 429.9 MB, free: 2.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.316e-05/0.003717, allocations: 33.69 kB / 429.9 MB, free: 2.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.003732, allocations: 12.08 kB / 429.9 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.003737, allocations: 0 / 429.9 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.003748, allocations: 4 kB / 429.9 MB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.003827, allocations: 3.938 kB / 429.9 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.00383, allocations: 0 / 429.9 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.003848, allocations: 4 kB / 429.9 MB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.003853, allocations: 0 / 429.9 MB, free: 2.312 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.126e-05/0.003924, allocations: 109.8 kB / 430 MB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.003933, allocations: 3.984 kB / 430 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.003956, allocations: 11 kB / 430 MB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.003958, allocations: 0 / 430 MB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00396, allocations: 0 / 430 MB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.003963, allocations: 3.938 kB / 430 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.135e-05/0.004024, allocations: 61.84 kB / 430.1 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.004026, allocations: 0 / 430.1 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.004062, allocations: 7.984 kB / 430.1 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.004067, allocations: 0 / 430.1 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.004069, allocations: 0 / 430.1 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.004074, allocations: 8 kB / 430.1 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004075, allocations: 0 / 430.1 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.004077, allocations: 4 kB / 430.1 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.913e-05/0.004156, allocations: 65 kB / 430.2 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.004164, allocations: 4 kB / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.004182, allocations: 0 / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.004192, allocations: 0 / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.004195, allocations: 0 / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.043e-06/0.004202, allocations: 4.859 kB / 430.2 MB, free: 1.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004202, allocations: 0 / 430.2 MB, free: 1.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.004348, allocations: 4 kB / 430.2 MB, free: 1.984 MB / 410.7 MB 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): 1 * 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 8.233e-05/0.004431, allocations: 76.45 kB / 430.3 MB, free: 1.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.492e-05/0.004496, allocations: 16.84 kB / 430.3 MB, free: 1.883 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.004501, allocations: 4 kB / 430.3 MB, free: 1.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.004512, allocations: 4.859 kB / 430.3 MB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.739e-05/0.004569, allocations: 7.938 kB / 430.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000175/0.004744, allocations: 90.2 kB / 430.4 MB, free: 1.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.004777, allocations: 51.36 kB / 430.4 MB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.004808, allocations: 4.125 kB / 430.5 MB, free: 1.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.004846, allocations: 55.38 kB / 430.5 MB, free: 1.621 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.004847, allocations: 0 / 430.5 MB, free: 1.621 MB / 410.7 MB Notification: Performance of Templates: time 0.001931/0.006778, allocations: 285 kB / 430.8 MB, free: 1.344 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1586432280018926]