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.001031/0.001031, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.00109/0.00109, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.111/1.111, allocations: 177.1 MB / 204.5 MB, free: 5.508 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-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.7859/0.7859, allocations: 154.6 MB / 415.6 MB, free: 0.5078 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 2.044e-06/2.044e-06, allocations: 0.7656 kB / 0.5216 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.975e-05, allocations: 9.25 kB / 0.5216 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001192/0.001212, allocations: 0.5968 MB / 0.5222 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002797/0.001492, allocations: 44.73 kB / 0.5222 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.001518, allocations: 4 kB / 0.5222 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.00154, allocations: 0 / 0.5222 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.047e-06/0.001549, allocations: 0 / 0.5222 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.001843, allocations: 18.19 kB / 0.5222 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.001897, allocations: 3.984 kB / 0.5222 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.001958, allocations: 4 kB / 0.5222 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.001987, allocations: 1.125 kB / 0.5222 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.862e-05/0.002016, allocations: 3.938 kB / 0.5223 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.002031, allocations: 0 / 0.5223 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.00215, allocations: 20.7 kB / 0.5223 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.002167, allocations: 0 / 0.5223 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.002182, allocations: 1.031 kB / 0.5223 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.819e-05/0.00228, allocations: 23.91 kB / 0.5223 GB, free: 1.133 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.002282, allocations: 0 / 0.5223 GB, free: 1.133 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002283, allocations: 1.562 kB / 0.5223 GB, free: 1.133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.002288, allocations: 0 / 0.5223 GB, free: 1.133 MB / 490.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.0002731/0.002561, allocations: 344.4 kB / 0.5226 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.002602, allocations: 8.031 kB / 0.5226 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.002808, allocations: 17.92 kB / 0.5226 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.443e-05/0.002883, allocations: 108.6 kB / 0.5228 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.002895, allocations: 1.062 kB / 0.5228 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.002901, allocations: 1.656 kB / 0.5228 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.003008, allocations: 46.95 kB / 0.5228 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003015, allocations: 192 / 0.5228 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003023, allocations: 1.562 kB / 0.5228 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.00303, allocations: 4.359 kB / 0.5228 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.003051, allocations: 12.72 kB / 0.5228 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.366e-05/0.003144, allocations: 89.27 kB / 0.5229 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.003192, allocations: 31.94 kB / 0.5229 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.003207, allocations: 11.69 kB / 0.5229 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.003222, allocations: 6.609 kB / 0.523 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.003246, allocations: 33.39 kB / 0.523 GB, free: 320 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.003247, allocations: 0 / 0.523 GB, free: 320 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.003367, allocations: 37.69 kB / 0.523 GB, free: 276 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.0034, allocations: 55.34 kB / 0.5231 GB, free: 208 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.031e-05/0.003441, allocations: 142.2 kB / 0.5232 GB, free: 52 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.003451, allocations: 26.33 kB / 0.5232 GB, free: 20 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.003496, allocations: 131.9 kB / 0.5234 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.003524, allocations: 3.938 kB / 0.5234 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.003549, allocations: 19.38 kB / 0.5234 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.003675, allocations: 0.489 MB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.003687, allocations: 0 / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.003695, allocations: 9.484 kB / 0.5239 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.003724, allocations: 7.688 kB / 0.5239 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003726, allocations: 0.5 kB / 0.5239 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.789e-05/0.003774, allocations: 38.67 kB / 0.5239 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.003784, allocations: 4 kB / 0.5239 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.003787, allocations: 0.9062 kB / 0.5239 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.003801, allocations: 0 / 0.5239 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.003853, allocations: 7.984 kB / 0.5239 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.003856, allocations: 0.625 kB / 0.5239 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.003868, allocations: 1.5 kB / 0.5239 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.003872, allocations: 0 / 0.5239 GB, free: 15.28 MB / 0.4948 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 6.46e-05/0.003937, allocations: 164.5 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-06/0.003941, allocations: 0.7188 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.003963, allocations: 9.75 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.003965, allocations: 0 / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.003967, allocations: 0 / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.003971, allocations: 4 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.186e-05/0.004033, allocations: 101.1 kB / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004033, allocations: 0 / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.004047, allocations: 4 kB / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.004048, allocations: 0 / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.004053, allocations: 4 kB / 0.5242 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004054, allocations: 2.438 kB / 0.5242 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004054, allocations: 0 / 0.5242 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.525e-05/0.00412, allocations: 76.31 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-06/0.004123, allocations: 0 / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-06/0.004129, allocations: 0 / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.004139, allocations: 5.156 kB / 0.5243 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.004149, allocations: 0 / 0.5243 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.004152, allocations: 4 kB / 0.5243 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.004184, allocations: 119.2 kB / 0.5244 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004184, allocations: 4.812 kB / 0.5244 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001109/0.004295, allocations: 0 / 0.5244 GB, free: 14.75 MB / 0.4948 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 7.25e-05/0.004367, allocations: 100.4 kB / 0.5245 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.983e-05/0.004427, allocations: 12.28 kB / 0.5245 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.004428, allocations: 2.781 kB / 0.5245 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.004439, allocations: 11.62 kB / 0.5245 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.317e-05/0.004533, allocations: 11.94 kB / 0.5245 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001543/0.004687, allocations: 83.94 kB / 0.5246 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.004726, allocations: 55.36 kB / 0.5247 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.178e-05/0.004748, allocations: 3.031 kB / 0.5247 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.00479, allocations: 66.2 kB / 0.5247 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/0.004791, allocations: 0 / 0.5247 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.001796/0.006587, allocations: 286.1 kB / 0.525 GB, free: 14.07 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.76224890910089]