Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7681/0.7681, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0009125/0.0009123, allocations: 91.25 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.198e-05, allocations: 4 kB / 0.5536 GB, free: 8.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4864, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.6253, allocations: 110.7 MB / 0.7421 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.6256, allocations: 75.95 kB / 0.7422 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.6406, allocations: 5.084 MB / 0.7471 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6407, allocations: 4 kB / 0.7471 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.6407, allocations: 4 kB / 0.7471 GB, free: 6.715 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000436/0.6411, allocations: 354.4 kB / 0.7475 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.6412, allocations: 8.031 kB / 0.7475 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.6413, allocations: 7.906 kB / 0.7475 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.6414, allocations: 171 kB / 0.7476 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.6415, allocations: 4 kB / 0.7476 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.6415, allocations: 0 / 0.7476 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.915e-05/0.6416, allocations: 19.94 kB / 0.7477 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.6417, allocations: 49.69 kB / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6417, allocations: 0 / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6417, allocations: 0 / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6417, allocations: 0 / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.6419, allocations: 142.1 kB / 0.7478 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.642, allocations: 54.52 kB / 0.7479 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.642, allocations: 32.8 kB / 0.7479 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.6427, allocations: 457.5 kB / 0.7484 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.6427, allocations: 42.5 kB / 0.7484 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.6427, allocations: 0 / 0.7484 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001041/0.6438, allocations: 0.5169 MB / 0.7489 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.6438, allocations: 51.41 kB / 0.749 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.6439, allocations: 93 kB / 0.749 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.6439, allocations: 25.7 kB / 0.7491 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.644, allocations: 92.08 kB / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.644, allocations: 35.45 kB / 0.7492 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.644, allocations: 0 / 0.7492 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6442, allocations: 318.8 kB / 0.7495 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.6442, allocations: 16 kB / 0.7495 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.6442, allocations: 20 kB / 0.7495 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.265e-05/0.6443, allocations: 16 kB / 0.7495 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6443, allocations: 3.953 kB / 0.7496 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001723/0.6445, allocations: 96.7 kB / 0.7496 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6445, allocations: 8 kB / 0.7497 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6445, allocations: 0 / 0.7497 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6446, allocations: 0 / 0.7497 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.6447, allocations: 31.92 kB / 0.7497 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.6447, allocations: 3.938 kB / 0.7497 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.6447, allocations: 192 / 0.7497 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.6447, allocations: 4 kB / 0.7497 GB, free: 3.711 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.613e-05/0.6448, allocations: 101 kB / 0.7498 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001554/0.645, allocations: 77.64 kB / 0.7499 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.645, allocations: 15.89 kB / 0.7499 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.6452, allocations: 101.9 kB / 0.75 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6452, allocations: 4 kB / 0.75 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6452, allocations: 0 / 0.75 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6453, allocations: 0 / 0.75 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.6456, allocations: 319.1 kB / 0.7503 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6456, allocations: 0 / 0.7503 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.6458, allocations: 24.03 kB / 0.7503 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6458, allocations: 3.938 kB / 0.7503 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.6458, allocations: 11.98 kB / 0.7503 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6458, allocations: 0 / 0.7503 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6458, allocations: 3.938 kB / 0.7503 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.6461, allocations: 199.4 kB / 0.7505 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.6462, allocations: 89.12 kB / 0.7506 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.6462, allocations: 0 / 0.7506 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.6463, allocations: 3.984 kB / 0.7506 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.6463, allocations: 4.062 kB / 0.7506 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.6463, allocations: 8 kB / 0.7506 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.6464, allocations: 87.27 kB / 0.7507 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6464, allocations: 0 / 0.7507 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003224/0.6467, allocations: 47.94 kB / 0.7507 GB, free: 2.535 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007243/0.6474, allocations: 0.7985 MB / 0.7515 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.6476, allocations: 59.98 kB / 0.7516 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6476, allocations: 3.938 kB / 0.7516 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.6476, allocations: 31.94 kB / 0.7516 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.6478, allocations: 5.891 kB / 0.7516 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.6482, allocations: 185.6 kB / 0.7518 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.6485, allocations: 0.6846 MB / 0.7525 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.6486, allocations: 11.98 kB / 0.7525 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.6486, allocations: 19.44 kB / 0.7525 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6486, allocations: 0 / 0.7525 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.6709, allocations: 1.859 MB / 0.7543 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/0.6713, allocations: 155.9 kB / 0.7545 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.188, allocations: 4 kB / 0.7545 GB, free: 14.61 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)