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.005073/0.005073, allocations: 170.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7302/0.7302, allocations: 135.2 MB / 151 MB, free: 13.83 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.451/1.451, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.0008764/0.0008763, allocations: 94.17 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 16 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3824, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.5303, allocations: 111.5 MB / 0.7584 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5306, allocations: 79.95 kB / 0.7585 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.5454, allocations: 5.111 MB / 0.7635 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5454, allocations: 4 kB / 0.7635 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5455, allocations: 0 / 0.7635 GB, free: 15.36 MB / 0.5417 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.0004238/0.5459, allocations: 367.1 kB / 0.7638 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5459, allocations: 16.03 kB / 0.7638 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.546, allocations: 34.55 kB / 0.7639 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.5461, allocations: 8 kB / 0.7639 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5462, allocations: 167 kB / 0.764 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5462, allocations: 8 kB / 0.764 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.5462, allocations: 0 / 0.764 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5464, allocations: 49.67 kB / 0.7641 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5464, allocations: 0 / 0.7641 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5464, allocations: 4 kB / 0.7641 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5464, allocations: 3.984 kB / 0.7641 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.5465, allocations: 23.94 kB / 0.7641 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.5467, allocations: 169.5 kB / 0.7643 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5468, allocations: 54.56 kB / 0.7643 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/0.5474, allocations: 465.5 kB / 0.7648 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.5475, allocations: 30.56 kB / 0.7648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.5475, allocations: 0 / 0.7648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001296/0.5488, allocations: 0.5955 MB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5488, allocations: 59.41 kB / 0.7654 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.5489, allocations: 88.98 kB / 0.7655 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5489, allocations: 29.7 kB / 0.7655 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.549, allocations: 84.14 kB / 0.7656 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.549, allocations: 35.45 kB / 0.7657 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.549, allocations: 0 / 0.7657 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5492, allocations: 326.8 kB / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.5492, allocations: 16.08 kB / 0.766 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.5492, allocations: 27.44 kB / 0.766 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.5493, allocations: 27.98 kB / 0.766 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5493, allocations: 0 / 0.766 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001521/0.5495, allocations: 97.59 kB / 0.7661 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5495, allocations: 4 kB / 0.7661 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5495, allocations: 0 / 0.7661 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5495, allocations: 4 kB / 0.7661 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5496, allocations: 27.92 kB / 0.7662 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5496, allocations: 0 / 0.7662 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.5497, allocations: 4 kB / 0.7662 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.5497, allocations: 4 kB / 0.7662 GB, free: 12.18 MB / 0.5417 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 () * Number of clocked 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 8.916e-05/0.5498, allocations: 117.8 kB / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.5498, allocations: 11.84 kB / 0.7663 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.55, allocations: 105.6 kB / 0.7664 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.55, allocations: 0 / 0.7664 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.55, allocations: 8 kB / 0.7664 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.55, allocations: 0 / 0.7664 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.5504, allocations: 354.5 kB / 0.7667 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5505, allocations: 0 / 0.7667 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5506, allocations: 27.92 kB / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5506, allocations: 0 / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.5506, allocations: 0 / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5506, allocations: 0 / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5506, allocations: 0 / 0.7668 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.5509, allocations: 223.3 kB / 0.767 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.5509, allocations: 89.12 kB / 0.7671 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.551, allocations: 0 / 0.7671 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.551, allocations: 11.98 kB / 0.7671 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.5511, allocations: 3.938 kB / 0.7671 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5511, allocations: 4 kB / 0.7671 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.5511, allocations: 83.27 kB / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5511, allocations: 0 / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003059/0.5515, allocations: 63.94 kB / 0.7672 GB, free: 10.99 MB / 0.5417 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 () * Number of clocked 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.0006426/0.5521, allocations: 0.7982 MB / 0.768 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.5522, allocations: 55.92 kB / 0.7681 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5523, allocations: 3.938 kB / 0.7681 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.5523, allocations: 40.47 kB / 0.7681 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.5524, allocations: 5.312 kB / 0.7681 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.5532, allocations: 0.5259 MB / 0.7686 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.5535, allocations: 0.6887 MB / 0.7693 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.096e-05/0.5536, allocations: 12.06 kB / 0.7693 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.5536, allocations: 19.42 kB / 0.7693 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.5536, allocations: 0 / 0.7693 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.5672, allocations: 2.157 MB / 0.7714 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.5675, allocations: 198.5 kB / 0.7716 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.082, allocations: 0 / 0.7716 GB, free: 6.516 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)