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.0007539/0.0007539, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009432/0.001697, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008961/0.0008961, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002081, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9861/0.9861, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09244/1.079, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7855/0.7855, allocations: 154.6 MB / 398.5 MB, free: 0.5156 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2742/1.06, allocations: 49.03 MB / 447.6 MB, free: 6.727 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.363e-06/1.363e-06, allocations: 0 / 448.9 MB, free: 5.371 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.202e-05, allocations: 5.156 kB / 448.9 MB, free: 5.367 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.0009986/0.001011, allocations: 0.6393 MB / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.655e-05/0.001097, allocations: 48.67 kB / 449.6 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-06/0.001107, allocations: 1.344 kB / 449.6 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-06/0.001111, allocations: 0 / 449.6 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.52e-07/0.001112, allocations: 0 / 449.6 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.733e-05/0.001189, allocations: 13.41 kB / 449.6 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.865e-05/0.001228, allocations: 8.703 kB / 449.7 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.974e-05/0.001257, allocations: 4.906 kB / 449.7 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.001286, allocations: 0.7656 kB / 449.7 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.242e-05/0.001308, allocations: 4.75 kB / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.001319, allocations: 1.094 kB / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.001415, allocations: 24.72 kB / 449.7 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.001422, allocations: 0 / 449.7 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-06/0.001431, allocations: 1.688 kB / 449.7 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.747e-05/0.001499, allocations: 21.89 kB / 449.7 MB, free: 4.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.001511, allocations: 0 / 449.7 MB, free: 4.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001511, allocations: 0 / 449.7 MB, free: 4.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.001522, allocations: 0 / 449.7 MB, free: 4.648 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.0002357/0.001758, allocations: 218.8 kB / 449.9 MB, free: 4.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.001787, allocations: 8.031 kB / 449.9 MB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.002013, allocations: 94.02 kB / 450 MB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.069e-05/0.002064, allocations: 109.7 kB / 450.1 MB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.002071, allocations: 1.281 kB / 450.1 MB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-06/0.002076, allocations: 2.156 kB / 450.1 MB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.895e-05/0.002155, allocations: 53.03 kB / 450.2 MB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-06/0.00216, allocations: 192 / 450.2 MB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.002165, allocations: 384 / 450.2 MB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.002169, allocations: 1.094 kB / 450.2 MB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.002186, allocations: 12.58 kB / 450.2 MB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.124e-05/0.002247, allocations: 57.05 kB / 450.3 MB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.04e-05/0.002277, allocations: 23.89 kB / 450.3 MB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-06/0.002287, allocations: 4.859 kB / 450.3 MB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.002301, allocations: 0.75 kB / 450.3 MB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.00232, allocations: 39.22 kB / 450.3 MB, free: 3.934 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.00232, allocations: 1.969 kB / 450.3 MB, free: 3.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.595e-05/0.002396, allocations: 33.69 kB / 450.4 MB, free: 3.895 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.002423, allocations: 51.41 kB / 450.4 MB, free: 3.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.306e-05/0.002446, allocations: 89.86 kB / 450.5 MB, free: 3.734 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.002455, allocations: 26.39 kB / 450.5 MB, free: 3.703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.002535, allocations: 80.69 kB / 450.6 MB, free: 3.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.00256, allocations: 6.688 kB / 450.6 MB, free: 3.617 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.002578, allocations: 9.719 kB / 450.6 MB, free: 3.602 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.002646, allocations: 320 kB / 450.9 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.002653, allocations: 4 kB / 450.9 MB, free: 3.273 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.002659, allocations: 1.828 kB / 450.9 MB, free: 3.273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.002684, allocations: 20.78 kB / 451 MB, free: 3.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.002686, allocations: 1.156 kB / 451 MB, free: 3.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.03e-05/0.002716, allocations: 29.7 kB / 451 MB, free: 3.215 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.002726, allocations: 4.531 kB / 451 MB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.002729, allocations: 1.688 kB / 451 MB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.002735, allocations: 0 / 451 MB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.002787, allocations: 8.531 kB / 451 MB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.00279, allocations: 0 / 451 MB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.002802, allocations: 4.562 kB / 451 MB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.002806, allocations: 1.219 kB / 451 MB, free: 3.199 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.42e-05/0.002851, allocations: 109.8 kB / 451.1 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-06/0.002854, allocations: 1.312 kB / 451.1 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.002871, allocations: 3 kB / 451.1 MB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.002873, allocations: 10.88 kB / 451.1 MB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.002874, allocations: 0 / 451.1 MB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.002877, allocations: 0 / 451.1 MB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.884e-05/0.002916, allocations: 67.36 kB / 451.2 MB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.002917, allocations: 0.5469 kB / 451.2 MB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.00293, allocations: 4 kB / 451.2 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-06/0.002932, allocations: 0 / 451.2 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.002933, allocations: 0.9062 kB / 451.2 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.002938, allocations: 4 kB / 451.2 MB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.00294, allocations: 9.828 kB / 451.2 MB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00294, allocations: 0 / 451.2 MB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.345e-05/0.002984, allocations: 53.98 kB / 451.3 MB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-06/0.002991, allocations: 4 kB / 451.3 MB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/0.002998, allocations: 0.625 kB / 451.3 MB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.003009, allocations: 7.984 kB / 451.3 MB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.003011, allocations: 4.625 kB / 451.3 MB, free: 2.887 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.061e-06/0.003017, allocations: 8.203 kB / 451.3 MB, free: 2.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003017, allocations: 4.562 kB / 451.3 MB, free: 2.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.405e-05/0.003101, allocations: 5.609 kB / 451.3 MB, free: 2.871 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 6.135e-05/0.003162, allocations: 73.05 kB / 451.4 MB, free: 2.789 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.935e-05/0.003212, allocations: 10.05 kB / 451.4 MB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.003214, allocations: 0 / 451.4 MB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-06/0.003222, allocations: 9.547 kB / 451.4 MB, free: 2.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.849e-05/0.003271, allocations: 9.703 kB / 451.4 MB, free: 2.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001451/0.003416, allocations: 77.86 kB / 451.5 MB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.675e-05/0.003443, allocations: 59.34 kB / 451.5 MB, free: 2.578 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.333e-05/0.003466, allocations: 6.359 kB / 451.5 MB, free: 2.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.003496, allocations: 48.66 kB / 451.6 MB, free: 2.527 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.003496, allocations: 0 / 451.6 MB, free: 2.527 MB / 426.7 MB Notification: Performance of Templates: time 0.001345/0.004841, allocations: 280.9 kB / 451.9 MB, free: 2.266 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.474726210348308]