Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006163/0.006163, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7527/0.7527, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008717, allocations: 100.2 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005116, allocations: 19.94 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5615, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.7629, allocations: 112.1 MB / 0.7589 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.7633, allocations: 79.95 kB / 0.759 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006797/0.7701, allocations: 1.754 MB / 0.7607 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7701, allocations: 0 / 0.7607 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.7701, allocations: 3.938 kB / 0.7607 GB, free: 2.102 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005781/0.7707, allocations: 399 kB / 0.7611 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.7708, allocations: 8.031 kB / 0.7611 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.7709, allocations: 7.906 kB / 0.7611 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.7711, allocations: 208 kB / 0.7613 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7711, allocations: 8 kB / 0.7613 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.7712, allocations: 4 kB / 0.7613 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.7715, allocations: 109.6 kB / 0.7614 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7716, allocations: 3.938 kB / 0.7614 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.7716, allocations: 4 kB / 0.7614 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.7716, allocations: 0 / 0.7614 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.772, allocations: 114.2 kB / 0.7615 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.7728, allocations: 384.5 kB / 0.7619 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.773, allocations: 66.48 kB / 0.762 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.7731, allocations: 7.984 kB / 0.762 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.7731, allocations: 38.64 kB / 0.762 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.7731, allocations: 3.938 kB / 0.762 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0006724/0.7738, allocations: 173.5 kB / 0.7622 GB, free: 440 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.7739, allocations: 59.34 kB / 0.7622 GB, free: 368 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.774, allocations: 118.6 kB / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.774, allocations: 25.7 kB / 0.7624 GB, free: 208 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.7741, allocations: 104.2 kB / 0.7625 GB, free: 100 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.7742, allocations: 19.89 kB / 0.7625 GB, free: 80 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.7742, allocations: 4 kB / 0.7625 GB, free: 76 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7743, allocations: 322.8 kB / 0.7628 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.7745, allocations: 39.97 kB / 0.7628 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.7747, allocations: 48.22 kB / 0.7629 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.7748, allocations: 48.09 kB / 0.7629 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7749, allocations: 0 / 0.7629 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004034/0.7753, allocations: 129.5 kB / 0.7631 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.7753, allocations: 11.98 kB / 0.7631 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7753, allocations: 0 / 0.7631 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7753, allocations: 3.953 kB / 0.7631 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.7755, allocations: 23.92 kB / 0.7631 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7755, allocations: 0 / 0.7631 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.7757, allocations: 23.89 kB / 0.7631 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.7757, allocations: 4 kB / 0.7631 GB, free: 15.42 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001139/0.7758, allocations: 117.8 kB / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.7759, allocations: 11.89 kB / 0.7632 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.7764, allocations: 150.3 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.7764, allocations: 3.953 kB / 0.7634 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7764, allocations: 4 kB / 0.7634 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7765, allocations: 0 / 0.7634 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.7768, allocations: 205.5 kB / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7768, allocations: 4 kB / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.7769, allocations: 23.92 kB / 0.7636 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.777, allocations: 4 kB / 0.7636 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.777, allocations: 4 kB / 0.7636 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.777, allocations: 0 / 0.7636 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.777, allocations: 3.953 kB / 0.7636 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.7775, allocations: 235.5 kB / 0.7638 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.7776, allocations: 81.02 kB / 0.7639 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.7777, allocations: 15.92 kB / 0.7639 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.7778, allocations: 8 kB / 0.7639 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.7779, allocations: 11.97 kB / 0.764 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.7779, allocations: 7.953 kB / 0.764 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.778, allocations: 109.4 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7781, allocations: 4 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003775/0.7784, allocations: 16 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001997/0.7787, allocations: 95.25 kB / 0.7642 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.779, allocations: 111.9 kB / 0.7643 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7791, allocations: 0 / 0.7643 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.7793, allocations: 63.89 kB / 0.7643 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.7795, allocations: 4 kB / 0.7644 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.7801, allocations: 245.1 kB / 0.7646 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.7805, allocations: 0.7043 MB / 0.7653 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.7806, allocations: 15.98 kB / 0.7653 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.7807, allocations: 19.42 kB / 0.7653 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.7807, allocations: 0 / 0.7653 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.003648/0.7843, allocations: 0.5861 MB / 0.7659 GB, free: 12.43 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)