Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.002755/0.002755, allocations: 180.9 kB / 7.651 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 1.002/1.002, 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.534/1.534, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009109/0.0009111, allocations: 93.44 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.323e-05, allocations: 4 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4143, allocations: 82.31 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5593, allocations: 110.6 MB / 0.7419 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.5596, allocations: 71.95 kB / 0.742 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01294/0.5726, allocations: 4.546 MB / 0.7465 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5726, allocations: 0 / 0.7465 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.5726, allocations: 0 / 0.7465 GB, free: 7.512 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003891/0.573, allocations: 346.4 kB / 0.7468 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.5731, allocations: 12.03 kB / 0.7468 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.5732, allocations: 4 kB / 0.7468 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.5733, allocations: 167 kB / 0.747 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5733, allocations: 0 / 0.747 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.5734, allocations: 7.906 kB / 0.747 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.687e-05/0.5734, allocations: 4 kB / 0.747 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.368e-05/0.5735, allocations: 33.64 kB / 0.747 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5735, allocations: 0 / 0.747 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5735, allocations: 0 / 0.747 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5735, allocations: 4 kB / 0.747 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.5737, allocations: 130.2 kB / 0.7471 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.5738, allocations: 22.56 kB / 0.7472 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.5738, allocations: 12.92 kB / 0.7472 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.5744, allocations: 457.5 kB / 0.7476 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.5745, allocations: 42.5 kB / 0.7476 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.5745, allocations: 0 / 0.7476 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005892/0.5751, allocations: 238.4 kB / 0.7479 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.5751, allocations: 51.41 kB / 0.7479 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.5752, allocations: 92.98 kB / 0.748 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.5752, allocations: 25.95 kB / 0.748 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.5753, allocations: 88.14 kB / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.5753, allocations: 11.81 kB / 0.7481 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5753, allocations: 0 / 0.7481 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5754, allocations: 314.8 kB / 0.7484 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.5755, allocations: 8 kB / 0.7484 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.5755, allocations: 17.66 kB / 0.7485 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.5755, allocations: 7.984 kB / 0.7485 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5755, allocations: 4 kB / 0.7485 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.5757, allocations: 49.66 kB / 0.7485 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5757, allocations: 4 kB / 0.7485 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5757, allocations: 0 / 0.7485 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5757, allocations: 0 / 0.7485 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.5758, allocations: 11.98 kB / 0.7485 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5758, allocations: 3.938 kB / 0.7485 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.5758, allocations: 0 / 0.7485 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.5758, allocations: 4 kB / 0.7485 GB, free: 5.039 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.281e-05/0.5759, allocations: 105 kB / 0.7486 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000101/0.576, allocations: 49.64 kB / 0.7487 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.576, allocations: 0 / 0.7487 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.5762, allocations: 57.66 kB / 0.7487 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5762, allocations: 0 / 0.7487 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5762, allocations: 4 kB / 0.7487 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.5762, allocations: 3.984 kB / 0.7487 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.311e-05/0.5763, allocations: 122.2 kB / 0.7489 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5763, allocations: 8 kB / 0.7489 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.5764, allocations: 11.94 kB / 0.7489 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5764, allocations: 0 / 0.7489 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.5764, allocations: 0 / 0.7489 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5764, allocations: 0 / 0.7489 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5764, allocations: 4 kB / 0.7489 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.5766, allocations: 73.12 kB / 0.749 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.5766, allocations: 81.14 kB / 0.749 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.5767, allocations: 8.016 kB / 0.749 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.5767, allocations: 0 / 0.749 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.5768, allocations: 3.984 kB / 0.749 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5768, allocations: 4 kB / 0.749 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.5768, allocations: 83.16 kB / 0.7491 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5768, allocations: 0 / 0.7491 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002219/0.5771, allocations: 39.88 kB / 0.7492 GB, free: 4.301 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005436/0.5776, allocations: 0.6516 MB / 0.7498 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.268e-05/0.5777, allocations: 12.27 kB / 0.7498 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5777, allocations: 4 kB / 0.7498 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.5777, allocations: 4 kB / 0.7498 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.5778, allocations: 3.953 kB / 0.7498 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.5782, allocations: 127.7 kB / 0.7499 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.5784, allocations: 0.6807 MB / 0.7506 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.5785, allocations: 8.062 kB / 0.7506 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.5785, allocations: 15.44 kB / 0.7506 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.5785, allocations: 0 / 0.7506 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.5976, allocations: 1.157 MB / 0.7518 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.5978, allocations: 162.2 kB / 0.7519 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.094, allocations: 0 / 0.7519 GB, free: 1.363 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)