Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_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.001416/0.001416, 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.8875/0.8875, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.456/1.456, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008975/0.0008975, allocations: 102.2 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.396e-05, allocations: 8 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5665, allocations: 82.3 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.7309, allocations: 110.6 MB / 0.7419 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.7312, allocations: 75.95 kB / 0.742 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.7446, allocations: 4.546 MB / 0.7465 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7446, allocations: 0 / 0.7465 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.7446, allocations: 0 / 0.7465 GB, free: 7.516 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.0003721/0.745, allocations: 346.4 kB / 0.7468 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.7451, allocations: 8.031 kB / 0.7468 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.7451, allocations: 4 kB / 0.7468 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.7453, allocations: 167 kB / 0.747 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.7453, allocations: 0 / 0.747 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.7453, allocations: 3.906 kB / 0.747 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.784e-05/0.7454, allocations: 4 kB / 0.747 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.388e-05/0.7454, allocations: 37.64 kB / 0.747 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7454, allocations: 0 / 0.747 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7455, allocations: 4 kB / 0.747 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.7455, allocations: 0 / 0.747 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.7456, allocations: 130.2 kB / 0.7471 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.7457, allocations: 26.56 kB / 0.7472 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.7457, allocations: 4.859 kB / 0.7472 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/0.7464, allocations: 461.5 kB / 0.7476 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.7464, allocations: 30.56 kB / 0.7476 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7464, allocations: 0 / 0.7476 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006057/0.747, allocations: 250.5 kB / 0.7479 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.7471, allocations: 51.41 kB / 0.7479 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.7472, allocations: 85 kB / 0.748 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.7472, allocations: 29.7 kB / 0.748 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.7472, allocations: 84.12 kB / 0.7481 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.7472, allocations: 11.81 kB / 0.7481 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.7473, allocations: 0 / 0.7481 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7474, allocations: 318.9 kB / 0.7484 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.7474, allocations: 4 kB / 0.7484 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.7474, allocations: 17.72 kB / 0.7484 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.7475, allocations: 11.92 kB / 0.7485 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7475, allocations: 4 kB / 0.7485 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.7476, allocations: 49.59 kB / 0.7485 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.7476, allocations: 8 kB / 0.7485 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7477, allocations: 4.062 kB / 0.7485 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7477, allocations: 0 / 0.7485 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.7477, allocations: 11.98 kB / 0.7485 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7478, allocations: 0 / 0.7485 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.7478, allocations: 0 / 0.7485 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.7478, allocations: 144 / 0.7485 GB, free: 5.051 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 7.141e-05/0.7479, allocations: 108.9 kB / 0.7486 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.885e-05/0.748, allocations: 45.62 kB / 0.7487 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.748, allocations: 8 kB / 0.7487 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.7482, allocations: 53.72 kB / 0.7487 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7482, allocations: 0 / 0.7487 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7482, allocations: 0 / 0.7487 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7482, allocations: 3.938 kB / 0.7487 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.7483, allocations: 138.2 kB / 0.7489 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7483, allocations: 0 / 0.7489 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.7484, allocations: 11.94 kB / 0.7489 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7484, allocations: 0 / 0.7489 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.7484, allocations: 4 kB / 0.7489 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7484, allocations: 4 kB / 0.7489 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7484, allocations: 0 / 0.7489 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.7486, allocations: 73.12 kB / 0.749 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.7486, allocations: 77.11 kB / 0.749 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7486, allocations: 3.953 kB / 0.749 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.7487, allocations: 4.031 kB / 0.749 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.7487, allocations: 3.984 kB / 0.749 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.7487, allocations: 64 / 0.749 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.7488, allocations: 83.28 kB / 0.7491 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7488, allocations: 0 / 0.7491 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002209/0.749, allocations: 35.88 kB / 0.7492 GB, free: 4.312 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.0005541/0.7496, allocations: 0.6397 MB / 0.7498 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.7497, allocations: 24.14 kB / 0.7498 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7497, allocations: 0 / 0.7498 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.7497, allocations: 7.938 kB / 0.7498 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.7498, allocations: 9.844 kB / 0.7498 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.7502, allocations: 123.5 kB / 0.7499 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.7504, allocations: 0.6768 MB / 0.7506 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.7505, allocations: 8.125 kB / 0.7506 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.7505, allocations: 15.36 kB / 0.7506 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.7505, allocations: 0 / 0.7506 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.7718, allocations: 1.156 MB / 0.7518 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.7721, allocations: 158 kB / 0.7519 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.298, allocations: 0 / 0.7519 GB, free: 1.383 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)