Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001613/0.001613, allocations: 173.9 kB / 7.648 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.8624/0.8624, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.721/1.721, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.0008962/0.0008963, allocations: 106.9 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.515e-05, allocations: 8 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5141, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.6614, allocations: 110.7 MB / 0.7421 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.6616, allocations: 75.95 kB / 0.7421 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.6766, allocations: 5.084 MB / 0.7471 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6766, allocations: 0 / 0.7471 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.6766, allocations: 0 / 0.7471 GB, free: 6.789 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.0004782/0.6771, allocations: 368.3 kB / 0.7475 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6772, allocations: 8.031 kB / 0.7475 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.6773, allocations: 7.906 kB / 0.7475 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.6774, allocations: 167 kB / 0.7476 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6775, allocations: 0 / 0.7476 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.6775, allocations: 7.938 kB / 0.7476 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.252e-05/0.6776, allocations: 19.98 kB / 0.7477 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.693e-05/0.6777, allocations: 37.7 kB / 0.7477 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6777, allocations: 0 / 0.7477 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.6777, allocations: 3.984 kB / 0.7477 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.6777, allocations: 11.98 kB / 0.7477 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.6779, allocations: 138.1 kB / 0.7478 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.678, allocations: 54.53 kB / 0.7479 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.6781, allocations: 28.84 kB / 0.7479 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.6787, allocations: 461.4 kB / 0.7484 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.6787, allocations: 34.55 kB / 0.7484 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.6787, allocations: 0 / 0.7484 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001069/0.6798, allocations: 0.5212 MB / 0.7489 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.6798, allocations: 55.41 kB / 0.749 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.6799, allocations: 92.94 kB / 0.7491 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.6799, allocations: 25.7 kB / 0.7491 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.68, allocations: 80.14 kB / 0.7492 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.68, allocations: 35.45 kB / 0.7492 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.68, allocations: 0 / 0.7492 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6802, allocations: 326.8 kB / 0.7495 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.6802, allocations: 16 kB / 0.7495 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.6803, allocations: 16 kB / 0.7495 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.891e-05/0.6803, allocations: 23.98 kB / 0.7496 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6803, allocations: 3.953 kB / 0.7496 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001821/0.6805, allocations: 88.84 kB / 0.7496 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6806, allocations: 8 kB / 0.7496 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6806, allocations: 256 / 0.7496 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6806, allocations: 3.938 kB / 0.7497 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6807, allocations: 31.86 kB / 0.7497 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6807, allocations: 11.98 kB / 0.7497 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.6808, allocations: 4 kB / 0.7497 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.6808, allocations: 0 / 0.7497 GB, free: 3.77 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 7.076e-05/0.6809, allocations: 105 kB / 0.7498 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001731/0.681, allocations: 77.64 kB / 0.7499 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.6811, allocations: 7.891 kB / 0.7499 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.6813, allocations: 97.95 kB / 0.75 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6813, allocations: 4 kB / 0.75 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.6813, allocations: 4 kB / 0.75 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6813, allocations: 0 / 0.75 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.6818, allocations: 319.1 kB / 0.7503 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6818, allocations: 0 / 0.7503 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.6819, allocations: 27.92 kB / 0.7503 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6819, allocations: 0 / 0.7503 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.6819, allocations: 0 / 0.7503 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6819, allocations: 7.938 kB / 0.7503 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6819, allocations: 0 / 0.7503 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.6822, allocations: 207.4 kB / 0.7505 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.6823, allocations: 89.12 kB / 0.7506 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.6823, allocations: 0 / 0.7506 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.6824, allocations: 0 / 0.7506 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.6824, allocations: 7.984 kB / 0.7506 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.6824, allocations: 4 kB / 0.7506 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.6825, allocations: 83.45 kB / 0.7507 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6825, allocations: 3.938 kB / 0.7507 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003075/0.6828, allocations: 56 kB / 0.7508 GB, free: 2.594 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.0007498/0.6836, allocations: 0.7908 MB / 0.7515 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.6838, allocations: 55.98 kB / 0.7516 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6838, allocations: 0 / 0.7516 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.6838, allocations: 35.88 kB / 0.7516 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.684, allocations: 4.062 kB / 0.7516 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.6846, allocations: 185.6 kB / 0.7518 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.6849, allocations: 0.6924 MB / 0.7525 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.034e-05/0.6849, allocations: 7.938 kB / 0.7525 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.685, allocations: 23.42 kB / 0.7525 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.685, allocations: 0 / 0.7525 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.707, allocations: 1.858 MB / 0.7543 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.7073, allocations: 159.8 kB / 0.7545 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.267, allocations: 0 / 0.7545 GB, free: 14.68 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)