Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.001424/0.001424, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001621/0.001621, allocations: 177 kB / 23.36 MB, free: 1.125 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.9659/0.9659, 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.798/0.798, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 480.1 MB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.622e-05, allocations: 4.812 kB / 480.1 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001029/0.001046, allocations: 0.6382 MB / 480.7 MB, free: 6.281 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.002388, allocations: 1.424 MB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.002414, allocations: 0 / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.002471, allocations: 4 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.00251, allocations: 5.219 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.00301, allocations: 186.2 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.003092, allocations: 49.08 kB / 482.4 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.838e-05/0.003121, allocations: 3.984 kB / 482.4 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.003165, allocations: 28.84 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.003206, allocations: 17.17 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.003216, allocations: 4 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.003456, allocations: 218 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.003491, allocations: 11.05 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.003515, allocations: 15.73 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.003719, allocations: 234.3 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.00372, allocations: 0 / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003721, allocations: 0.6562 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.435e-06/0.003723, allocations: 0 / 482.9 MB, free: 4.113 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002696/0.003993, allocations: 344.6 kB / 483.2 MB, free: 3.746 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.004022, allocations: 8.031 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.004051, allocations: 9.578 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.004317, allocations: 122.5 kB / 483.4 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004326, allocations: 6.125 kB / 483.4 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.004337, allocations: 4.375 kB / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.004432, allocations: 98.75 kB / 483.5 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.004438, allocations: 192 / 483.5 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.004444, allocations: 1.281 kB / 483.5 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.004449, allocations: 3.938 kB / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.004486, allocations: 61.67 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.838e-05/0.004544, allocations: 68.5 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.895e-05/0.004603, allocations: 80.86 kB / 483.7 MB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.004639, allocations: 62.62 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-06/0.004643, allocations: 4.969 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.00466, allocations: 34.55 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.004661, allocations: 1.219 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001701/0.004831, allocations: 206.7 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.004859, allocations: 81.11 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.004931, allocations: 149.7 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.004941, allocations: 29.7 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.004964, allocations: 84.12 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.004979, allocations: 11.91 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.00501, allocations: 26.75 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.005074, allocations: 330.8 kB / 484.7 MB, free: 2.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.005132, allocations: 99.06 kB / 484.8 MB, free: 2.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.005187, allocations: 99.38 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.00529, allocations: 192.7 kB / 485.1 MB, free: 1.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.005292, allocations: 1.375 kB / 485.1 MB, free: 1.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.005421, allocations: 248.4 kB / 485.3 MB, free: 1.426 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.005454, allocations: 67.38 kB / 485.4 MB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005459, allocations: 12.2 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.00547, allocations: 3.938 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-06/0.005473, allocations: 0 / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-06/0.005476, allocations: 0 / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.005532, allocations: 16.67 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.005542, allocations: 8 kB / 485.4 MB, free: 1.312 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 5.947e-05/0.005601, allocations: 147.3 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.00561, allocations: 4 kB / 485.5 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.005622, allocations: 9.219 kB / 485.6 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-07/0.005623, allocations: 0 / 485.6 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.005625, allocations: 4.891 kB / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005627, allocations: 0 / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.59e-05/0.005673, allocations: 73.83 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005673, allocations: 0.625 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-06/0.005675, allocations: 4.609 kB / 485.6 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.005676, allocations: 0 / 485.6 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.005682, allocations: 4.625 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.005682, allocations: 0 / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005683, allocations: 0.625 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.005802, allocations: 206.6 kB / 485.8 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.005809, allocations: 3.953 kB / 485.8 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.005819, allocations: 4.625 kB / 485.9 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.841e-05/0.005837, allocations: 0 / 485.9 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.005871, allocations: 8.562 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.005874, allocations: 1.344 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.977e-05/0.005894, allocations: 34.44 kB / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005894, allocations: 0 / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.006056, allocations: 63.88 kB / 486 MB, free: 0.6875 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001509/0.006207, allocations: 141.2 kB / 486.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.006381, allocations: 321.3 kB / 486.4 MB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.006383, allocations: 0 / 486.4 MB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.006444, allocations: 129.8 kB / 486.5 MB, free: 40 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.067e-05/0.006494, allocations: 15.88 kB / 486.6 MB, free: 24 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.0067, allocations: 204 kB / 486.8 MB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.739e-05/0.006727, allocations: 63.34 kB / 486.8 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.388e-06/0.006732, allocations: 1.312 kB / 486.8 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.006789, allocations: 71.34 kB / 486.9 MB, free: 15.64 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.006789, allocations: 0 / 486.9 MB, free: 15.64 MB / 458.7 MB Notification: Performance of Templates: time 0.003201/0.00999, allocations: 2.376 MB / 489.3 MB, free: 13.41 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7051695329137146]