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.001038/0.001038, allocations: 93.06 kB / 19.65 MB, free: 276 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.00107/0.00107, allocations: 165 kB / 23.02 MB, free: 1.551 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.9572/0.9572, 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 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.8796/0.8796, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.774e-06/1.774e-06, allocations: 0.875 kB / 0.5204 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.686e-05, allocations: 4.719 kB / 0.5204 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001406/0.001433, allocations: 0.6342 MB / 0.521 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.003128, allocations: 1.422 MB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.003163, allocations: 1.031 kB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/0.003232, allocations: 3.938 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.003283, allocations: 5.188 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.003977, allocations: 189 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.004076, allocations: 43.97 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.004111, allocations: 1.656 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.004187, allocations: 27.91 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.004247, allocations: 23.95 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.004261, allocations: 4 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.004622, allocations: 203.7 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.004678, allocations: 17.16 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.004734, allocations: 19.91 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.005029, allocations: 231.4 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.005032, allocations: 4.688 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005033, allocations: 0 / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.005038, allocations: 1.219 kB / 0.5231 GB, free: 15.38 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.000372/0.00541, allocations: 463.6 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.005448, allocations: 12.03 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.005492, allocations: 10.33 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.005585, allocations: 120.5 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005599, allocations: 4.375 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005612, allocations: 384 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.005771, allocations: 120.7 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005782, allocations: 192 / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005792, allocations: 1.219 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.005802, allocations: 11.92 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.268e-05/0.005865, allocations: 88.38 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.005982, allocations: 132.6 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/0.006071, allocations: 112.7 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.006135, allocations: 89.42 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-06/0.006139, allocations: 0 / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.006161, allocations: 37.38 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.006162, allocations: 0 / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0003014/0.006463, allocations: 303.1 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.0065, allocations: 81.58 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.006608, allocations: 201 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.006624, allocations: 30.77 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.006672, allocations: 138.9 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.006693, allocations: 11.91 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.006733, allocations: 40.23 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.006846, allocations: 0.4884 MB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.006948, allocations: 136.7 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.007033, allocations: 139.3 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.007209, allocations: 252.7 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007211, allocations: 8.375 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002294/0.007441, allocations: 335.6 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.007483, allocations: 72.41 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.007488, allocations: 0 / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.007507, allocations: 1 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-06/0.007514, allocations: 4.141 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.007521, allocations: 3.938 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.007627, allocations: 16.5 kB / 0.5265 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.007637, allocations: 4 kB / 0.5265 GB, free: 11.64 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 7.641e-05/0.007713, allocations: 193.6 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.007728, allocations: 15.94 kB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.007743, allocations: 4.344 kB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007744, allocations: 0 / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.007748, allocations: 3.938 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.00775, allocations: 0 / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.876e-05/0.007819, allocations: 140.6 kB / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.00782, allocations: 0 / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.007821, allocations: 6.469 kB / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.007822, allocations: 0 / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.007829, allocations: 3.938 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00783, allocations: 0 / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007831, allocations: 0 / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.008022, allocations: 259.7 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.00803, allocations: 3.953 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.008044, allocations: 4.906 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/0.008073, allocations: 0 / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.00813, allocations: 17.11 kB / 0.5271 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.008135, allocations: 3.938 kB / 0.5271 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.008186, allocations: 147.2 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008186, allocations: 0.9062 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002129/0.008399, allocations: 67.88 kB / 0.5273 GB, free: 10.71 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.0002051/0.008604, allocations: 156 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.008872, allocations: 386.2 kB / 0.5278 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008874, allocations: 0 / 0.5278 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.008963, allocations: 156.7 kB / 0.528 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.009073, allocations: 7.875 kB / 0.528 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.00935, allocations: 236.4 kB / 0.5282 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.712e-05/0.009387, allocations: 71.27 kB / 0.5283 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.61e-06/0.009393, allocations: 6.75 kB / 0.5283 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.009409, allocations: 8.5 kB / 0.5283 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.00941, allocations: 0 / 0.5283 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of Templates: time 0.003777/0.01319, allocations: 2.199 MB / 0.5304 GB, free: 7.445 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.928000157698989]