Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007548/0.0007548, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007311/0.0007311, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8261/0.8261, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6863/0.6863, allocations: 154.6 MB / 414.5 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6194 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.987e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.000963/0.0009829, allocations: 0.5905 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.001184, allocations: 43.81 kB / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.001198, allocations: 0 / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.001211, allocations: 0 / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-06/0.001218, allocations: 0 / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.001437, allocations: 31.84 kB / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.893e-05/0.001476, allocations: 0 / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.001512, allocations: 0 / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.001535, allocations: 4 kB / 0.62 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.987e-05/0.001555, allocations: 0 / 0.62 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.001566, allocations: 0 / 0.62 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.001653, allocations: 23.97 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.001664, allocations: 0 / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.179e-05/0.001676, allocations: 3.938 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.874e-05/0.001755, allocations: 27.95 kB / 0.6201 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001757, allocations: 0 / 0.6201 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.222e-06/0.001758, allocations: 4 kB / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.001762, allocations: 0 / 0.6201 GB, free: 12.32 MB / 0.5886 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.0001976/0.00196, allocations: 234.4 kB / 0.6203 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.001991, allocations: 8.031 kB / 0.6203 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.002174, allocations: 16.91 kB / 0.6203 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.326e-05/0.002228, allocations: 105.8 kB / 0.6204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.002237, allocations: 4.359 kB / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.002245, allocations: 384 / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.472e-05/0.002339, allocations: 42.25 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.002346, allocations: 192 / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.002354, allocations: 384 / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.002358, allocations: 4.312 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.002403, allocations: 15.92 kB / 0.6205 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.457e-05/0.002488, allocations: 93.33 kB / 0.6206 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.002532, allocations: 18.61 kB / 0.6206 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.002559, allocations: 12.91 kB / 0.6206 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.002577, allocations: 11.92 kB / 0.6206 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.002595, allocations: 38.56 kB / 0.6207 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.002596, allocations: 0 / 0.6207 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.00274, allocations: 45.61 kB / 0.6207 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.002765, allocations: 55.41 kB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.376e-05/0.002788, allocations: 89.86 kB / 0.6209 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.002797, allocations: 25.7 kB / 0.6209 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.602e-05/0.002813, allocations: 80.14 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.002836, allocations: 128 / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.002859, allocations: 17.72 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.003013, allocations: 318.8 kB / 0.6213 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.003041, allocations: 7.984 kB / 0.6213 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.003066, allocations: 4 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.003114, allocations: 16.78 kB / 0.6213 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.003116, allocations: 0 / 0.6213 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.119e-05/0.003177, allocations: 49.73 kB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.003187, allocations: 4 kB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.003192, allocations: 4 kB / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.003203, allocations: 0 / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.003251, allocations: 4 kB / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.003256, allocations: 0 / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.003272, allocations: 7.922 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.003278, allocations: 4 kB / 0.6214 GB, free: 10.84 MB / 0.5886 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 4.473e-05/0.003323, allocations: 114.8 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-06/0.003326, allocations: 4.031 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.003352, allocations: 6.953 kB / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003353, allocations: 0 / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.003357, allocations: 4 kB / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.00336, allocations: 0 / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.746e-05/0.003407, allocations: 97.27 kB / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.003407, allocations: 0 / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.003424, allocations: 7.984 kB / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003425, allocations: 0 / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.00343, allocations: 0 / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00343, allocations: 3.938 kB / 0.6216 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.003431, allocations: 4 kB / 0.6216 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.167e-05/0.003503, allocations: 76.98 kB / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-06/0.003507, allocations: 3.938 kB / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.003515, allocations: 4 kB / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.003526, allocations: 0 / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.003536, allocations: 0 / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.003538, allocations: 0 / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.003556, allocations: 75.28 kB / 0.6218 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.003556, allocations: 0 / 0.6218 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001124/0.003669, allocations: 8.031 kB / 0.6218 GB, free: 10.38 MB / 0.5886 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 6.153e-05/0.00373, allocations: 99.17 kB / 0.6219 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.00381, allocations: 15.92 kB / 0.6219 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.003812, allocations: 0 / 0.6219 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.003829, allocations: 4 kB / 0.6219 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.781e-05/0.003917, allocations: 0 / 0.6219 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.0041, allocations: 110.9 kB / 0.622 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.035e-05/0.00413, allocations: 55.34 kB / 0.622 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.004152, allocations: 12.5 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.004152, allocations: 0 / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.00106/0.005212, allocations: 406.7 kB / 0.6224 GB, free: 9.629 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.80331187043339] Failed to read output from testmodel.py, exit status != 0: 0.009373923763632774 0.016821514000000003 0.013378902000000002 Calling exit ...