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.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.0009233/0.0009233, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.0009709/0.0009709, allocations: 173 kB / 23.02 MB, free: 1.539 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.9851/0.9851, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8586/0.8586, allocations: 154.8 MB / 414.7 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_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 1.512e-06/1.512e-06, allocations: 0 / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.1e-05, allocations: 7.453 kB / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.00449/0.004521, allocations: 0.5928 MB / 0.5212 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002416/0.004763, allocations: 48.67 kB / 0.5213 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.004779, allocations: 5.625 kB / 0.5213 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.004797, allocations: 0 / 0.5213 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.004803, allocations: 0 / 0.5213 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.005046, allocations: 16.69 kB / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.00509, allocations: 1.219 kB / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.005131, allocations: 7.984 kB / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.005158, allocations: 0 / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.005185, allocations: 1.344 kB / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.005199, allocations: 0 / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.005302, allocations: 21.23 kB / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.005314, allocations: 0 / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.005327, allocations: 3.938 kB / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.005416, allocations: 29.31 kB / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005419, allocations: 0 / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.00542, allocations: 0 / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.005424, allocations: 0 / 0.5213 GB, free: 1.188 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.0002459/0.00567, allocations: 337.2 kB / 0.5217 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.005711, allocations: 8.031 kB / 0.5217 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.005915, allocations: 13.77 kB / 0.5217 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.969e-05/0.005974, allocations: 111.4 kB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.005986, allocations: 384 / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.005995, allocations: 384 / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.006111, allocations: 54.89 kB / 0.5218 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.00612, allocations: 192 / 0.5218 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.006129, allocations: 384 / 0.5218 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006137, allocations: 384 / 0.5218 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.00616, allocations: 12.42 kB / 0.5218 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.006267, allocations: 105.1 kB / 0.5219 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.006307, allocations: 28.19 kB / 0.522 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.006325, allocations: 7.688 kB / 0.522 GB, free: 416 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.006343, allocations: 0 / 0.522 GB, free: 416 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.006367, allocations: 38.17 kB / 0.522 GB, free: 368 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.006367, allocations: 4.062 kB / 0.522 GB, free: 364 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.006501, allocations: 39.19 kB / 0.5221 GB, free: 320 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.006531, allocations: 51.41 kB / 0.5221 GB, free: 256 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.006573, allocations: 142.2 kB / 0.5222 GB, free: 100 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.006584, allocations: 26.2 kB / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.00663, allocations: 127.9 kB / 0.5224 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.00666, allocations: 7.938 kB / 0.5224 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.00669, allocations: 15.38 kB / 0.5224 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.006827, allocations: 0.4893 MB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.006848, allocations: 7.984 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.006857, allocations: 0.625 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.006894, allocations: 20.94 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006896, allocations: 0 / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.324e-05/0.006959, allocations: 30.27 kB / 0.5229 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.006973, allocations: 5.438 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.006979, allocations: 4 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.006994, allocations: 4 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.01007, allocations: 3.984 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01008, allocations: 0.6875 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.0101, allocations: 8.281 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.01011, allocations: 1.312 kB / 0.523 GB, free: 15.32 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 7.402e-05/0.01018, allocations: 152.6 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.01019, allocations: 4 kB / 0.5231 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.01022, allocations: 11.69 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.01023, allocations: 0.5625 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01023, allocations: 0.9062 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01023, allocations: 0 / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.01033, allocations: 120.5 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01034, allocations: 1.094 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.01036, allocations: 4 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.01037, allocations: 3.984 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.01037, allocations: 0.9375 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01037, allocations: 0 / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.01038, allocations: 4.797 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/0.01047, allocations: 79.12 kB / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-06/0.01047, allocations: 0 / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.01048, allocations: 4 kB / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.01049, allocations: 0 / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.01051, allocations: 3.984 kB / 0.5233 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.01051, allocations: 0 / 0.5233 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.01054, allocations: 123.1 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001738/0.01072, allocations: 6.844 kB / 0.5235 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 0.0001091/0.01082, allocations: 95.19 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.01091, allocations: 11.69 kB / 0.5236 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01091, allocations: 0 / 0.5236 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.01092, allocations: 13.09 kB / 0.5236 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.01106, allocations: 7.922 kB / 0.5236 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.01127, allocations: 91.94 kB / 0.5237 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.01131, allocations: 53.02 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.01133, allocations: 1.031 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.01136, allocations: 12.5 kB / 0.5237 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01136, allocations: 0.6562 kB / 0.5237 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.0054/0.01676, allocations: 251.5 kB / 0.524 GB, free: 14.16 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0202798950485885]