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.001515/0.001515, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7662/0.7662, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.557/1.557, allocations: 221.3 MB / 400.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008492/0.0008494, allocations: 94.02 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.365e-05, allocations: 4.656 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1623, allocations: 82.3 MB / 0.6405 GB, free: 7.691 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5876/0.75, allocations: 111.3 MB / 0.7492 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.7503, allocations: 76.78 kB / 0.7492 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01227/0.7626, allocations: 4.561 MB / 0.7537 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7626, allocations: 0 / 0.7537 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.7626, allocations: 3.844 kB / 0.7537 GB, free: 27.44 MB / 0.5105 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.0003632/0.763, allocations: 349.7 kB / 0.754 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.763, allocations: 7.688 kB / 0.754 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.7631, allocations: 30.56 kB / 0.7541 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.7632, allocations: 4.562 kB / 0.7541 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.7633, allocations: 169.7 kB / 0.7542 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.7633, allocations: 0 / 0.7542 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.7633, allocations: 11.22 kB / 0.7543 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.7635, allocations: 37.39 kB / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7635, allocations: 0 / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.7635, allocations: 0 / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7635, allocations: 2.297 kB / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.7635, allocations: 3.844 kB / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.7637, allocations: 154.7 kB / 0.7544 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.7637, allocations: 25.61 kB / 0.7545 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.7638, allocations: 4.859 kB / 0.7545 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.7644, allocations: 463.9 kB / 0.7549 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.7644, allocations: 34.44 kB / 0.7549 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.7644, allocations: 3.938 kB / 0.7549 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005988/0.765, allocations: 236.4 kB / 0.7552 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.7651, allocations: 55.34 kB / 0.7552 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.7652, allocations: 98.59 kB / 0.7553 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.7652, allocations: 25.7 kB / 0.7553 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.7652, allocations: 80.14 kB / 0.7554 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.7653, allocations: 15.12 kB / 0.7554 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.7653, allocations: 0 / 0.7554 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7654, allocations: 317.4 kB / 0.7557 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.7654, allocations: 3.844 kB / 0.7557 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.7654, allocations: 16.56 kB / 0.7558 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.7655, allocations: 21.44 kB / 0.7558 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.7655, allocations: 0 / 0.7558 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.7656, allocations: 51.8 kB / 0.7558 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7656, allocations: 6.469 kB / 0.7558 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7656, allocations: 0 / 0.7558 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7657, allocations: 0 / 0.7558 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.7657, allocations: 11.69 kB / 0.7558 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7657, allocations: 0 / 0.7558 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.7658, allocations: 0 / 0.7558 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.7658, allocations: 8.031 kB / 0.7559 GB, free: 25.14 MB / 0.5105 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 7.661e-05/0.7659, allocations: 110.7 kB / 0.756 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.7659, allocations: 3.875 kB / 0.756 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.766, allocations: 53.53 kB / 0.756 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7661, allocations: 0 / 0.756 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7661, allocations: 0 / 0.756 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7661, allocations: 0 / 0.756 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.7662, allocations: 157.4 kB / 0.7562 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7662, allocations: 3.953 kB / 0.7562 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.7662, allocations: 7.469 kB / 0.7562 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7663, allocations: 3.875 kB / 0.7562 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.7663, allocations: 0 / 0.7562 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7663, allocations: 0 / 0.7562 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7663, allocations: 0 / 0.7562 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.7664, allocations: 83.77 kB / 0.7563 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.7665, allocations: 89.09 kB / 0.7563 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.7665, allocations: 2.672 kB / 0.7563 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.7665, allocations: 0 / 0.7563 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.7665, allocations: 3.844 kB / 0.7563 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.7666, allocations: 0 / 0.7563 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.7666, allocations: 78.28 kB / 0.7564 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.22e-07/0.7666, allocations: 0 / 0.7564 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002408/0.7668, allocations: 41.33 kB / 0.7565 GB, free: 24.52 MB / 0.5105 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.0004952/0.7674, allocations: 0.6557 MB / 0.7571 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.523e-05/0.7674, allocations: 17.67 kB / 0.7571 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7674, allocations: 0 / 0.7571 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.7675, allocations: 7.688 kB / 0.7571 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.83e-05/0.7676, allocations: 0 / 0.7571 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.7679, allocations: 138.4 kB / 0.7573 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.7682, allocations: 0.6771 MB / 0.7579 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.7682, allocations: 3.75 kB / 0.7579 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.7682, allocations: 11.38 kB / 0.7579 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.7682, allocations: 3.875 kB / 0.7579 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.7801, allocations: 1.469 MB / 0.7594 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.7803, allocations: 176.1 kB / 0.7595 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.309, allocations: 1.969 kB / 0.7595 GB, free: 22.69 MB / 0.5105 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)