Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.119/1.119, allocations: 175.7 MB / 480.2 MB, free: 2.773 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 64.88 kB / 0.6684 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2283, allocations: 94.53 MB / 0.7607 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.00175/0.2301, allocations: 0.5968 MB / 0.7613 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.2303, allocations: 52.2 kB / 0.7614 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.2303, allocations: 0 / 0.7614 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.2304, allocations: 0 / 0.7614 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.2304, allocations: 0 / 0.7614 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.2306, allocations: 23.91 kB / 0.7614 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.2307, allocations: 0 / 0.7614 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.2307, allocations: 4 kB / 0.7614 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.2307, allocations: 3.984 kB / 0.7614 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.2308, allocations: 4 kB / 0.7614 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.2308, allocations: 0 / 0.7614 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2309, allocations: 15.98 kB / 0.7614 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.2309, allocations: 4 kB / 0.7614 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.2309, allocations: 4 kB / 0.7614 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.087e-05/0.231, allocations: 19.91 kB / 0.7614 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.231, allocations: 3.938 kB / 0.7614 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.505e-06/0.231, allocations: 0 / 0.7614 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.231, allocations: 0 / 0.7614 GB, free: 15.54 MB / 0.5762 GB 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.0003272/0.2313, allocations: 315.6 kB / 0.7617 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2314, allocations: 12.03 kB / 0.7618 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.2316, allocations: 20.91 kB / 0.7618 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2317, allocations: 164.4 kB / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2318, allocations: 384 / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.2318, allocations: 384 / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2319, allocations: 42.17 kB / 0.762 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2319, allocations: 192 / 0.762 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2319, allocations: 7.938 kB / 0.762 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2319, allocations: 0 / 0.762 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.232, allocations: 11.98 kB / 0.762 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.2322, allocations: 145.7 kB / 0.7621 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.2323, allocations: 26.58 kB / 0.7622 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.2323, allocations: 8.922 kB / 0.7622 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.2323, allocations: 0 / 0.7622 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2324, allocations: 42.44 kB / 0.7622 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2324, allocations: 4 kB / 0.7622 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002227/0.2326, allocations: 45.61 kB / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.2326, allocations: 55.41 kB / 0.7623 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.48e-05/0.2327, allocations: 89.86 kB / 0.7624 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2327, allocations: 29.7 kB / 0.7624 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.2327, allocations: 80.14 kB / 0.7625 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2327, allocations: 8.016 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.2328, allocations: 17.7 kB / 0.7625 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2329, allocations: 314.8 kB / 0.7628 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.2329, allocations: 0 / 0.7628 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.233, allocations: 7.984 kB / 0.7628 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.2331, allocations: 24.78 kB / 0.7629 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2331, allocations: 4.062 kB / 0.7629 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001095/0.2332, allocations: 37.69 kB / 0.7629 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2332, allocations: 4 kB / 0.7629 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2332, allocations: 4 kB / 0.7629 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2332, allocations: 7.875 kB / 0.7629 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.2333, allocations: 0 / 0.7629 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2333, allocations: 0 / 0.7629 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.2333, allocations: 7.984 kB / 0.7629 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2333, allocations: 0 / 0.7629 GB, free: 13.81 MB / 0.5762 GB 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.715e-05/0.2334, allocations: 109.9 kB / 0.763 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.2334, allocations: 4 kB / 0.763 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.2334, allocations: 7.062 kB / 0.763 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2334, allocations: 0 / 0.763 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2334, allocations: 3.938 kB / 0.763 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.2334, allocations: 0 / 0.763 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.2335, allocations: 149.7 kB / 0.7632 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2335, allocations: 4 kB / 0.7632 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.2336, allocations: 8 kB / 0.7632 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2336, allocations: 0 / 0.7632 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2336, allocations: 7.922 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2336, allocations: 0 / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2336, allocations: 4 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.2337, allocations: 57.12 kB / 0.7633 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2338, allocations: 81.11 kB / 0.7633 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2338, allocations: 7.969 kB / 0.7633 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.2338, allocations: 7.984 kB / 0.7633 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.2338, allocations: 0 / 0.7633 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2338, allocations: 0 / 0.7633 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.2339, allocations: 77.52 kB / 0.7634 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2339, allocations: 3.938 kB / 0.7634 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001713/0.2341, allocations: 4 kB / 0.7634 GB, free: 13.19 MB / 0.5762 GB 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 0.0001364/0.2342, allocations: 99.19 kB / 0.7635 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.2343, allocations: 15.98 kB / 0.7635 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2343, allocations: 0 / 0.7635 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.2344, allocations: 7.984 kB / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.2345, allocations: 0 / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.2348, allocations: 97 kB / 0.7636 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.2351, allocations: 0.6691 MB / 0.7643 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.2351, allocations: 8 kB / 0.7643 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.2351, allocations: 7.438 kB / 0.7643 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.2351, allocations: 3.938 kB / 0.7643 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.002187/0.2373, allocations: 228.9 kB / 0.7645 GB, free: 12 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.225610576570034]