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.0006225/0.0006225, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008907/0.001513, allocations: 440 kB / 10.41 MB, free: 284 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.0006663/0.0006663, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008575/0.001524, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08784/1.091, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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-545:108: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-545:116: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.8094/0.8094, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2661/1.076, allocations: 49.05 MB / 447.8 MB, free: 6.59 MB / 426.7 MB " [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.523e-06/1.523e-06, allocations: 0 / 449.2 MB, free: 5.215 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.352e-05, allocations: 5.172 kB / 449.2 MB, free: 5.211 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001339/0.001363, allocations: 0.6577 MB / 449.9 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001002/0.001463, allocations: 44.36 kB / 449.9 MB, free: 4.551 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-06/0.001473, allocations: 0 / 449.9 MB, free: 4.551 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-06/0.001477, allocations: 0 / 449.9 MB, free: 4.551 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.001478, allocations: 0.875 kB / 449.9 MB, free: 4.551 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.894e-05/0.001577, allocations: 16.56 kB / 449.9 MB, free: 4.535 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.605e-05/0.001623, allocations: 6.062 kB / 449.9 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.001659, allocations: 0 / 449.9 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.001694, allocations: 8.75 kB / 449.9 MB, free: 4.523 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.001725, allocations: 4.719 kB / 450 MB, free: 4.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.001737, allocations: 0.6562 kB / 450 MB, free: 4.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.001845, allocations: 24.42 kB / 450 MB, free: 4.496 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.001857, allocations: 0.5469 kB / 450 MB, free: 4.496 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.005e-05/0.001867, allocations: 1.781 kB / 450 MB, free: 4.496 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/0.001955, allocations: 21.56 kB / 450 MB, free: 4.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.001966, allocations: 0 / 450 MB, free: 4.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.001967, allocations: 0 / 450 MB, free: 4.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.00198, allocations: 0 / 450 MB, free: 4.477 MB / 426.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.0002376/0.002218, allocations: 213.7 kB / 450.2 MB, free: 4.242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.002248, allocations: 8.031 kB / 450.2 MB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.002479, allocations: 95.89 kB / 450.3 MB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.002552, allocations: 110.6 kB / 450.4 MB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.002562, allocations: 4.359 kB / 450.4 MB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.00257, allocations: 384 / 450.4 MB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.121e-05/0.002662, allocations: 43.84 kB / 450.5 MB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.002671, allocations: 10.28 kB / 450.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.002676, allocations: 384 / 450.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.002681, allocations: 384 / 450.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.51e-05/0.002696, allocations: 8.625 kB / 450.5 MB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.526e-05/0.002761, allocations: 53.92 kB / 450.5 MB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.002795, allocations: 23.61 kB / 450.6 MB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.088e-05/0.002806, allocations: 8.344 kB / 450.6 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.002819, allocations: 0.9688 kB / 450.6 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.002839, allocations: 36.69 kB / 450.6 MB, free: 3.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.00284, allocations: 0.625 kB / 450.6 MB, free: 3.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.273e-05/0.002933, allocations: 39.12 kB / 450.6 MB, free: 3.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.002958, allocations: 51.41 kB / 450.7 MB, free: 3.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.537e-05/0.002983, allocations: 90.73 kB / 450.8 MB, free: 3.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.002992, allocations: 25.7 kB / 450.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.003011, allocations: 80.64 kB / 450.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.003038, allocations: 7.5 kB / 450.9 MB, free: 3.449 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.003059, allocations: 9.719 kB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.003129, allocations: 314.8 kB / 451.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.003142, allocations: 4 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.003149, allocations: 4.609 kB / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.003175, allocations: 14.97 kB / 451.2 MB, free: 3.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.003176, allocations: 0 / 451.2 MB, free: 3.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.857e-05/0.003215, allocations: 34.45 kB / 451.3 MB, free: 3.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.003226, allocations: 4 kB / 451.3 MB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.00323, allocations: 1.062 kB / 451.3 MB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.003243, allocations: 4.875 kB / 451.3 MB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.003301, allocations: 3.984 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.003304, allocations: 0.625 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.003318, allocations: 7.406 kB / 451.3 MB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.003322, allocations: 0 / 451.3 MB, free: 3.039 MB / 426.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 4.541e-05/0.003367, allocations: 113.8 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-06/0.003371, allocations: 0 / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.003391, allocations: 10.98 kB / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.003397, allocations: 1.094 kB / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.003398, allocations: 0 / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.0034, allocations: 0 / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.486e-05/0.003445, allocations: 65.84 kB / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.003446, allocations: 1.375 kB / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.003462, allocations: 7.938 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-06/0.003466, allocations: 3.984 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.003466, allocations: 0.625 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.00347, allocations: 4 kB / 451.5 MB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.003472, allocations: 4.609 kB / 451.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.003473, allocations: 1.391 kB / 451.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.303e-05/0.003526, allocations: 53.7 kB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.003533, allocations: 7.984 kB / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-06/0.00354, allocations: 0.625 kB / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.00355, allocations: 5.891 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.003552, allocations: 0 / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.114e-06/0.003559, allocations: 5.484 kB / 451.6 MB, free: 2.715 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003559, allocations: 1.094 kB / 451.6 MB, free: 2.715 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.547e-05/0.003645, allocations: 4.938 kB / 451.6 MB, free: 2.711 MB / 426.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 7.078e-05/0.003716, allocations: 74.08 kB / 451.7 MB, free: 2.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.283e-05/0.003768, allocations: 16.78 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.003771, allocations: 0 / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.003784, allocations: 10.42 kB / 451.7 MB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.649e-05/0.00384, allocations: 9.719 kB / 451.7 MB, free: 2.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001463/0.003987, allocations: 81.84 kB / 451.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.529e-05/0.004012, allocations: 52.55 kB / 451.8 MB, free: 2.414 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.004033, allocations: 1.969 kB / 451.8 MB, free: 2.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.004067, allocations: 51.38 kB / 451.9 MB, free: 2.363 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.004068, allocations: 1.219 kB / 451.9 MB, free: 2.363 MB / 426.7 MB Notification: Performance of Templates: time 0.001522/0.00559, allocations: 283.2 kB / 452.1 MB, free: 2.094 MB / 426.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.390277366153896]