Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7717/0.7717, allocations: 140.1 MB / 156 MB, free: 5.133 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009114/0.0009113, allocations: 183.2 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 426.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007949/0.000795, allocations: 78.38 kB / 0.4945 GB, free: 8.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001596/0.001596, allocations: 272.3 kB / 0.5729 GB, free: 66.18 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005172, allocations: 24 kB / 0.662 GB, free: 6.762 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3775, allocations: 79.29 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.5045, allocations: 108 MB / 0.845 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5048, allocations: 83.95 kB / 0.8451 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009308/0.5141, allocations: 3.205 MB / 0.8482 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5141, allocations: 0 / 0.8482 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.5142, allocations: 0 / 0.8482 GB, free: 14.86 MB / 0.5261 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.0003897/0.5145, allocations: 446.6 kB / 0.8486 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5146, allocations: 12.03 kB / 0.8486 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.5146, allocations: 8.844 kB / 0.8486 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.5148, allocations: 168.3 kB / 0.8488 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5148, allocations: 384 / 0.8488 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.5148, allocations: 4.375 kB / 0.8488 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.515, allocations: 94.2 kB / 0.8489 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.515, allocations: 192 / 0.8489 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.515, allocations: 3.938 kB / 0.8489 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.515, allocations: 0 / 0.8489 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.5151, allocations: 67.89 kB / 0.849 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.5153, allocations: 185.5 kB / 0.8491 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.5154, allocations: 82.52 kB / 0.8492 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.5155, allocations: 64.89 kB / 0.8493 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.5155, allocations: 4 kB / 0.8493 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5156, allocations: 38.55 kB / 0.8493 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5156, allocations: 0 / 0.8493 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000384/0.5159, allocations: 255 kB / 0.8496 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.516, allocations: 85.14 kB / 0.8496 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5161, allocations: 143.5 kB / 0.8498 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.5162, allocations: 25.7 kB / 0.8498 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.5162, allocations: 92.05 kB / 0.8499 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.5162, allocations: 11.83 kB / 0.8499 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.5163, allocations: 8 kB / 0.8499 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.5164, allocations: 310.8 kB / 0.8502 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.5165, allocations: 99.92 kB / 0.8503 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.5166, allocations: 99.94 kB / 0.8504 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.5169, allocations: 277.7 kB / 0.8507 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5169, allocations: 0 / 0.8507 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003336/0.5172, allocations: 316.7 kB / 0.851 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.5173, allocations: 76.27 kB / 0.851 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5173, allocations: 0 / 0.851 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5173, allocations: 0 / 0.851 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.5173, allocations: 0 / 0.851 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5173, allocations: 4 kB / 0.851 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.5174, allocations: 15.95 kB / 0.851 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.5174, allocations: 8 kB / 0.8511 GB, free: 11.63 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.5175, allocations: 151.5 kB / 0.8512 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.5176, allocations: 11.84 kB / 0.8512 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.5176, allocations: 8.188 kB / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.5176, allocations: 0 / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5176, allocations: 0 / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5176, allocations: 0 / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.5177, allocations: 181.5 kB / 0.8514 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5178, allocations: 4 kB / 0.8514 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-07/0.5178, allocations: 0 / 0.8514 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5178, allocations: 3.938 kB / 0.8514 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5178, allocations: 7.984 kB / 0.8514 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5178, allocations: 0 / 0.8514 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5178, allocations: 0 / 0.8514 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.5181, allocations: 226.6 kB / 0.8516 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.5181, allocations: 81.09 kB / 0.8517 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5182, allocations: 7.938 kB / 0.8517 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.5182, allocations: 12.03 kB / 0.8517 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.5183, allocations: 11.98 kB / 0.8517 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.5183, allocations: 0 / 0.8517 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.5184, allocations: 112.9 kB / 0.8518 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5184, allocations: 0 / 0.8518 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002985/0.5187, allocations: 75.92 kB / 0.8519 GB, free: 10.65 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002951/0.519, allocations: 151.2 kB / 0.8521 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.5194, allocations: 374.6 kB / 0.8524 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5194, allocations: 4 kB / 0.8524 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.5195, allocations: 135.3 kB / 0.8525 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.5197, allocations: 4.844 kB / 0.8526 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.5201, allocations: 215.3 kB / 0.8528 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.5203, allocations: 0.6928 MB / 0.8534 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.232e-06/0.5203, allocations: 3.984 kB / 0.8534 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-06/0.5204, allocations: 11.44 kB / 0.8534 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.5204, allocations: 0 / 0.8534 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of Templates: time 0.004324/0.5247, allocations: 1.85 MB / 0.8553 GB, free: 7.133 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)