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.0009352/0.0009352, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009338/0.0009338, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 1.026/1.026, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7549/0.7549, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.813e-06/1.813e-06, allocations: 0 / 0.5208 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.645e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001739/0.001765, allocations: 0.6241 MB / 0.5214 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.003645, allocations: 1.421 MB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.003679, allocations: 0 / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.867e-05/0.003738, allocations: 3.938 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.003784, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.004436, allocations: 184.4 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.004543, allocations: 47.95 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.004576, allocations: 0 / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.004635, allocations: 32.42 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.004693, allocations: 20.91 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.004708, allocations: 4 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.00505, allocations: 207.7 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.005092, allocations: 17.53 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.005124, allocations: 19.92 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.005431, allocations: 223.5 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005434, allocations: 0 / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005435, allocations: 0.9688 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.005438, allocations: 0 / 0.5236 GB, free: 15.05 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.0003995/0.005838, allocations: 479.5 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.005877, allocations: 10.16 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.005918, allocations: 8.891 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.345e-05/0.006011, allocations: 120.5 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.006022, allocations: 384 / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.006033, allocations: 4.375 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.006171, allocations: 96.67 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006179, allocations: 192 / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006188, allocations: 5.094 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006195, allocations: 3.938 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.006254, allocations: 58.48 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.006376, allocations: 121.1 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.006463, allocations: 90.2 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.006518, allocations: 65.44 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-06/0.006521, allocations: 4 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.00655, allocations: 37.39 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.006551, allocations: 0.7812 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002807/0.006832, allocations: 231.4 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.00687, allocations: 81.11 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.006994, allocations: 199.6 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.00701, allocations: 32.83 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.007062, allocations: 138.8 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.007085, allocations: 15.89 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.007134, allocations: 35.36 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.007279, allocations: 0.4884 MB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.007367, allocations: 107.4 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.007444, allocations: 99.38 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.007602, allocations: 196 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.007605, allocations: 4.484 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002556/0.007861, allocations: 265.2 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.007915, allocations: 71.39 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.007923, allocations: 4.672 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.007935, allocations: 0 / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/0.007936, allocations: 0.8438 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.007938, allocations: 3.938 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.008026, allocations: 12.69 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.008036, allocations: 4 kB / 0.5265 GB, free: 11.69 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.0001036/0.00814, allocations: 195.3 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.008161, allocations: 11.95 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.008184, allocations: 5.562 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008186, allocations: 0 / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.008189, allocations: 4 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008193, allocations: 3.938 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.456e-05/0.008277, allocations: 113.8 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008278, allocations: 0.6562 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.008279, allocations: 0 / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008282, allocations: 3.438 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.008293, allocations: 8 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008295, allocations: 3.984 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008296, allocations: 0 / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.008509, allocations: 211.7 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.00852, allocations: 7.953 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.008534, allocations: 4 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.008576, allocations: 4 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.008621, allocations: 7.984 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.008628, allocations: 6.969 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.871e-05/0.008687, allocations: 141.2 kB / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008687, allocations: 0 / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003065/0.008993, allocations: 71.86 kB / 0.5273 GB, free: 10.83 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.0002613/0.009255, allocations: 151.2 kB / 0.5274 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.009533, allocations: 327.4 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009535, allocations: 1.688 kB / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.009637, allocations: 136.8 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.009801, allocations: 7.938 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.01011, allocations: 217.8 kB / 0.5281 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.01015, allocations: 63.28 kB / 0.5282 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.62e-06/0.01015, allocations: 0 / 0.5282 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/0.01024, allocations: 82.2 kB / 0.5282 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.01024, allocations: 2.75 kB / 0.5282 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.005136/0.01538, allocations: 2.418 MB / 0.5306 GB, free: 7.418 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.6300981221720576]