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.001016/0.001016, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009561/0.0009561, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.946/0.946, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7991/0.7991, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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.573e-06/1.573e-06, allocations: 0 / 0.5204 GB, free: 2.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.679e-05, allocations: 5.062 kB / 0.5204 GB, free: 2.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.004516/0.004543, allocations: 0.6246 MB / 0.521 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.006357, allocations: 1.421 MB / 0.5224 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.006394, allocations: 7.938 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.338e-05/0.006457, allocations: 0.5312 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.006499, allocations: 0.75 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.007118, allocations: 185 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.007228, allocations: 53.17 kB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.007267, allocations: 0 / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.009555, allocations: 27.97 kB / 0.5227 GB, free: 176 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.009616, allocations: 23.95 kB / 0.5227 GB, free: 152 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.009633, allocations: 7.531 kB / 0.5227 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.009898, allocations: 203.7 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.00994, allocations: 8 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.009974, allocations: 23.91 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.0102, allocations: 231.4 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01021, allocations: 0 / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.51e-07/0.01021, allocations: 0 / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.01021, allocations: 3.984 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB 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.0004393/0.01065, allocations: 463.6 kB / 0.5236 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.0107, allocations: 8.594 kB / 0.5236 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.01075, allocations: 9.453 kB / 0.5236 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.01087, allocations: 124.5 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.01089, allocations: 5.344 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.0109, allocations: 4.375 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.0111, allocations: 117.3 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.01111, allocations: 192 / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.01112, allocations: 8.359 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.01113, allocations: 3.938 kB / 0.5239 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.994e-05/0.01123, allocations: 86.44 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.01157, allocations: 136.6 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.0117, allocations: 109.6 kB / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.01179, allocations: 93.42 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-06/0.0118, allocations: 5.594 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.01182, allocations: 37.39 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.01183, allocations: 0 / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0004211/0.01225, allocations: 294.6 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.0123, allocations: 85.05 kB / 0.5247 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.01245, allocations: 200.4 kB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.01246, allocations: 34.77 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.01253, allocations: 138.9 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.01256, allocations: 11.91 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.01261, allocations: 36.7 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.01277, allocations: 0.4884 MB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.01291, allocations: 143.3 kB / 0.5257 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.01303, allocations: 139.3 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.0133, allocations: 252.8 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.0133, allocations: 0 / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003202/0.01362, allocations: 336.3 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.01368, allocations: 71.39 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01369, allocations: 7.984 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.01371, allocations: 0 / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.01371, allocations: 2.75 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01372, allocations: 3.938 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01384, allocations: 11.94 kB / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01385, allocations: 4 kB / 0.5265 GB, free: 11.95 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: 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 0.0001072/0.01396, allocations: 198.2 kB / 0.5267 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.01398, allocations: 7.953 kB / 0.5267 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.574e-05/0.01399, allocations: 4.344 kB / 0.5267 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01399, allocations: 5.312 kB / 0.5267 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.014, allocations: 3.938 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.014, allocations: 0 / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.0141, allocations: 137.5 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.0141, allocations: 0 / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.0141, allocations: 0 / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01411, allocations: 0.9375 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01412, allocations: 4 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01412, allocations: 0.6562 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01412, allocations: 0 / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.01438, allocations: 260.7 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.01439, allocations: 3.953 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.0144, allocations: 4 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.01444, allocations: 6.531 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.01451, allocations: 11.92 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01452, allocations: 3.938 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.759e-05/0.01459, allocations: 155.1 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01459, allocations: 0 / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003269/0.01492, allocations: 67.86 kB / 0.5273 GB, free: 11.01 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: 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.0002959/0.01521, allocations: 158.3 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.01558, allocations: 375.5 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01559, allocations: 0 / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.01572, allocations: 156.7 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.01588, allocations: 16.44 kB / 0.528 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.01627, allocations: 232.4 kB / 0.5282 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.01632, allocations: 68.84 kB / 0.5283 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.033e-06/0.01632, allocations: 0 / 0.5283 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.01635, allocations: 20.48 kB / 0.5283 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.01635, allocations: 0 / 0.5283 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of Templates: time 0.00523/0.02158, allocations: 2.201 MB / 0.5304 GB, free: 7.754 MB / 0.4948 GB " [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.9507690761238337]