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.001263/0.001263, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001347/0.001347, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8494/0.8494, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.363e-06/1.363e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.082e-05, allocations: 2.312 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001381/0.001402, allocations: 0.6096 MB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.001602, allocations: 44.36 kB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.001616, allocations: 1.25 kB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.001628, allocations: 0 / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.001634, allocations: 0.7656 kB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.001838, allocations: 12.42 kB / 480.7 MB, free: 6.184 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.826e-05/0.001876, allocations: 9.719 kB / 480.7 MB, free: 6.176 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.001914, allocations: 8.734 kB / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.001937, allocations: 0 / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.021e-05/0.001957, allocations: 0 / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.001967, allocations: 0 / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.002054, allocations: 20.86 kB / 480.8 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.002064, allocations: 0.9844 kB / 480.8 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.027e-06/0.002073, allocations: 0.6875 kB / 480.8 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.247e-05/0.002146, allocations: 23.91 kB / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002147, allocations: 0.5938 kB / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002148, allocations: 0 / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.002151, allocations: 2.312 kB / 480.8 MB, free: 6.125 MB / 442.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.0002425/0.002393, allocations: 209.4 kB / 481 MB, free: 5.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.002427, allocations: 16.64 kB / 481 MB, free: 5.879 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.0026, allocations: 17.33 kB / 481 MB, free: 5.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.936e-05/0.002659, allocations: 101.8 kB / 481.1 MB, free: 5.742 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.00267, allocations: 4.375 kB / 481.1 MB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.002679, allocations: 0.9062 kB / 481.1 MB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.375e-05/0.002772, allocations: 51.95 kB / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002779, allocations: 192 / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.002786, allocations: 4.375 kB / 481.2 MB, free: 5.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.002791, allocations: 1.438 kB / 481.2 MB, free: 5.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.002807, allocations: 8.469 kB / 481.2 MB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.093e-05/0.002878, allocations: 58.11 kB / 481.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.417e-05/0.002912, allocations: 15.42 kB / 481.3 MB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.002926, allocations: 10.39 kB / 481.3 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.002937, allocations: 3.938 kB / 481.3 MB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.002957, allocations: 31.66 kB / 481.3 MB, free: 5.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.002958, allocations: 0 / 481.3 MB, free: 5.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.597e-05/0.003054, allocations: 34.47 kB / 481.3 MB, free: 5.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.003092, allocations: 56.84 kB / 481.4 MB, free: 5.414 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.295e-05/0.003115, allocations: 89.86 kB / 481.5 MB, free: 5.316 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.003123, allocations: 25.7 kB / 481.5 MB, free: 5.285 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.003144, allocations: 80.14 kB / 481.6 MB, free: 5.203 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.003167, allocations: 4.781 kB / 481.6 MB, free: 5.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.003189, allocations: 17.72 kB / 481.6 MB, free: 5.176 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.003256, allocations: 319.8 kB / 481.9 MB, free: 4.855 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.003268, allocations: 0.5469 kB / 481.9 MB, free: 4.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.003274, allocations: 8.562 kB / 481.9 MB, free: 4.848 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.003301, allocations: 9.625 kB / 481.9 MB, free: 4.836 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003303, allocations: 0.875 kB / 481.9 MB, free: 4.836 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.695e-05/0.003339, allocations: 33.7 kB / 482 MB, free: 4.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/0.003349, allocations: 5.719 kB / 482 MB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.003352, allocations: 0 / 482 MB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.003361, allocations: 0 / 482 MB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.003408, allocations: 8.609 kB / 482 MB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003411, allocations: 0.625 kB / 482 MB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.003424, allocations: 5.078 kB / 482 MB, free: 4.781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.003428, allocations: 1.391 kB / 482 MB, free: 4.781 MB / 442.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.63e-05/0.003474, allocations: 118.3 kB / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-06/0.003478, allocations: 0 / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.003493, allocations: 4.344 kB / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.003494, allocations: 0.625 kB / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.003496, allocations: 0.7188 kB / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.003498, allocations: 0 / 482.1 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.733e-05/0.003545, allocations: 71.34 kB / 482.2 MB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003546, allocations: 0 / 482.2 MB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.003558, allocations: 0.625 kB / 482.2 MB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00356, allocations: 5.312 kB / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.003564, allocations: 0 / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.003564, allocations: 0 / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.003565, allocations: 0.5625 kB / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.004e-05/0.003616, allocations: 65.97 kB / 482.3 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-06/0.003618, allocations: 0 / 482.3 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-06/0.003624, allocations: 1.297 kB / 482.3 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.003632, allocations: 0 / 482.3 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.003641, allocations: 4.438 kB / 482.3 MB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.003643, allocations: 7.281 kB / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.26e-06/0.003648, allocations: 4.859 kB / 482.3 MB, free: 4.469 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003648, allocations: 0.6562 kB / 482.3 MB, free: 4.469 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.408e-05/0.003732, allocations: 0 / 482.3 MB, free: 4.469 MB / 442.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 6.251e-05/0.003795, allocations: 76.41 kB / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.232e-05/0.003837, allocations: 10.55 kB / 482.4 MB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.003839, allocations: 4 kB / 482.4 MB, free: 4.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.003848, allocations: 9.391 kB / 482.4 MB, free: 4.355 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.823e-05/0.003896, allocations: 14.12 kB / 482.4 MB, free: 4.344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.00405, allocations: 80.55 kB / 482.5 MB, free: 4.238 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.004238, allocations: 55.36 kB / 482.5 MB, free: 4.164 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.00426, allocations: 10.3 kB / 482.5 MB, free: 4.156 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.004298, allocations: 47.38 kB / 482.6 MB, free: 4.109 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.004299, allocations: 0 / 482.6 MB, free: 4.109 MB / 442.7 MB Notification: Performance of Templates: time 0.001458/0.005757, allocations: 288.4 kB / 482.9 MB, free: 3.84 MB / 442.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.588152550160885]