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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005887/0.005887, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 196.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.99/0.99, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 59.91 kB / 0.5852 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4579, allocations: 80.92 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001676/0.4596, allocations: 0.6209 MB / 0.6648 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.4603, allocations: 350.8 kB / 0.6651 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.4603, allocations: 1.156 kB / 0.6651 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.4604, allocations: 0 / 0.6651 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.4604, allocations: 3.938 kB / 0.6651 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.4609, allocations: 118.4 kB / 0.6653 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.4609, allocations: 17.73 kB / 0.6653 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.461, allocations: 2.406 kB / 0.6653 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.461, allocations: 18.12 kB / 0.6653 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.4611, allocations: 14.42 kB / 0.6653 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.4611, allocations: 2.469 kB / 0.6653 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.4615, allocations: 270.8 kB / 0.6656 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.4615, allocations: 1.156 kB / 0.6656 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.4615, allocations: 16.52 kB / 0.6656 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.4617, allocations: 103.1 kB / 0.6657 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4617, allocations: 7.938 kB / 0.6657 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4617, allocations: 0 / 0.6657 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4617, allocations: 0 / 0.6657 GB, free: 6.191 MB / 0.4981 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.0003739/0.4621, allocations: 360.9 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4621, allocations: 9.469 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.608e-05/0.4622, allocations: 44.05 kB / 0.6661 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.4622, allocations: 7.562 kB / 0.6661 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.4623, allocations: 165.5 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4623, allocations: 2.562 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4624, allocations: 6.656 kB / 0.6663 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4625, allocations: 57.81 kB / 0.6663 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4625, allocations: 3.938 kB / 0.6663 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4625, allocations: 1.125 kB / 0.6663 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4625, allocations: 1.094 kB / 0.6663 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.4626, allocations: 27.19 kB / 0.6663 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.4628, allocations: 161.6 kB / 0.6665 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4629, allocations: 59.22 kB / 0.6666 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.4629, allocations: 33.69 kB / 0.6666 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/0.4635, allocations: 456 kB / 0.667 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4635, allocations: 35.81 kB / 0.6671 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.4635, allocations: 0 / 0.6671 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001116/0.4646, allocations: 0.5913 MB / 0.6676 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.4647, allocations: 52.69 kB / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.375e-05/0.4647, allocations: 102 kB / 0.6678 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.4647, allocations: 30.83 kB / 0.6678 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.4648, allocations: 80.14 kB / 0.6679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.4648, allocations: 36.83 kB / 0.6679 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.4648, allocations: 30.17 kB / 0.668 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.4649, allocations: 316.7 kB / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.4649, allocations: 19.73 kB / 0.6683 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.465, allocations: 29.27 kB / 0.6683 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.4651, allocations: 56.67 kB / 0.6684 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4651, allocations: 0 / 0.6684 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001365/0.4652, allocations: 105.5 kB / 0.6685 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4652, allocations: 9.297 kB / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4652, allocations: 1.594 kB / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4653, allocations: 0 / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4654, allocations: 17.97 kB / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4654, allocations: 1.094 kB / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.4654, allocations: 4 kB / 0.6685 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.4654, allocations: 6.844 kB / 0.6685 GB, free: 3.34 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.593e-05/0.4655, allocations: 128.2 kB / 0.6686 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4655, allocations: 7 kB / 0.6686 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.4657, allocations: 104.1 kB / 0.6687 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4657, allocations: 3.938 kB / 0.6687 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4657, allocations: 1.531 kB / 0.6687 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4657, allocations: 3.984 kB / 0.6687 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.466, allocations: 364.4 kB / 0.6691 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.466, allocations: 1.312 kB / 0.6691 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4661, allocations: 20.44 kB / 0.6691 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4661, allocations: 1.406 kB / 0.6691 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4662, allocations: 5.375 kB / 0.6691 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4662, allocations: 0 / 0.6691 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4662, allocations: 5.203 kB / 0.6691 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.4664, allocations: 217.8 kB / 0.6693 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.4664, allocations: 87.91 kB / 0.6694 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.4665, allocations: 1.188 kB / 0.6694 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.4665, allocations: 10.78 kB / 0.6694 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.4666, allocations: 6.516 kB / 0.6694 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.4666, allocations: 3.781 kB / 0.6694 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.4666, allocations: 82.38 kB / 0.6695 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4666, allocations: 0 / 0.6695 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002627/0.4669, allocations: 40.11 kB / 0.6695 GB, free: 2.379 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004917/0.4674, allocations: 0.7962 MB / 0.6703 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.4676, allocations: 62.94 kB / 0.6704 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4676, allocations: 1.469 kB / 0.6704 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.4676, allocations: 32.98 kB / 0.6704 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4678, allocations: 6.438 kB / 0.6704 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.4688, allocations: 1.396 MB / 0.6718 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.469, allocations: 0.6921 MB / 0.6725 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.4691, allocations: 10.19 kB / 0.6725 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.4691, allocations: 24.45 kB / 0.6725 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4691, allocations: 3.938 kB / 0.6725 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.4889, allocations: 2.486 MB / 0.6749 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/8.002, allocations: 12.16 kB / 0.6749 GB, free: 14.3 MB / 0.5137 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/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)