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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006261/0.006261, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001908/0.001908, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9351/0.9351, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 59.91 kB / 0.5852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4116, allocations: 80.91 MB / 0.6642 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001538/0.4132, allocations: 0.5889 MB / 0.6648 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005588/0.4138, allocations: 347.7 kB / 0.6651 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.4138, allocations: 0 / 0.6651 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.4138, allocations: 1.094 kB / 0.6651 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.4138, allocations: 0 / 0.6651 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.4143, allocations: 112.6 kB / 0.6652 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.696e-05/0.4143, allocations: 16.89 kB / 0.6652 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.4144, allocations: 1.469 kB / 0.6652 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.4144, allocations: 3.969 kB / 0.6652 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.4144, allocations: 7.922 kB / 0.6652 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.4145, allocations: 2.031 kB / 0.6652 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.4148, allocations: 273.6 kB / 0.6655 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.4148, allocations: 0 / 0.6655 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.4148, allocations: 6.719 kB / 0.6655 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.4149, allocations: 92.59 kB / 0.6656 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.415, allocations: 0 / 0.6656 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.415, allocations: 0 / 0.6656 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.415, allocations: 0 / 0.6656 GB, free: 6.227 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002504/0.4152, allocations: 347.1 kB / 0.6659 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4153, allocations: 10.81 kB / 0.6659 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.153e-05/0.4153, allocations: 34.75 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.4153, allocations: 2.312 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.4154, allocations: 168.1 kB / 0.6661 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4154, allocations: 4.359 kB / 0.6661 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.4155, allocations: 1.875 kB / 0.6661 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.4156, allocations: 39.09 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4156, allocations: 3.938 kB / 0.6662 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.4156, allocations: 0 / 0.6662 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4156, allocations: 1.406 kB / 0.6662 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.4156, allocations: 1.25 kB / 0.6662 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.4157, allocations: 153.9 kB / 0.6663 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.4158, allocations: 26.42 kB / 0.6664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.4158, allocations: 7.703 kB / 0.6664 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.4163, allocations: 463.3 kB / 0.6668 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.4164, allocations: 35.75 kB / 0.6668 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4164, allocations: 0 / 0.6668 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004896/0.4169, allocations: 255.1 kB / 0.6671 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4169, allocations: 52.59 kB / 0.6671 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.417, allocations: 96.7 kB / 0.6672 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.417, allocations: 29.7 kB / 0.6673 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.417, allocations: 81.39 kB / 0.6673 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.417, allocations: 16.86 kB / 0.6673 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.4171, allocations: 17.47 kB / 0.6674 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.4171, allocations: 312 kB / 0.6677 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.4172, allocations: 3.281 kB / 0.6677 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.4172, allocations: 26.98 kB / 0.6677 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.4172, allocations: 27.03 kB / 0.6677 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4172, allocations: 0 / 0.6677 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.156e-05/0.4173, allocations: 50.41 kB / 0.6678 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4174, allocations: 9.219 kB / 0.6678 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4174, allocations: 0 / 0.6678 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.4174, allocations: 1.312 kB / 0.6678 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.4175, allocations: 9.781 kB / 0.6678 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.4175, allocations: 5.125 kB / 0.6678 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.4175, allocations: 1.281 kB / 0.6678 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4175, allocations: 4.969 kB / 0.6678 GB, free: 3.773 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/0.4176, allocations: 113.8 kB / 0.6679 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4176, allocations: 5.375 kB / 0.6679 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4178, allocations: 49 kB / 0.668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4178, allocations: 5.219 kB / 0.668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4178, allocations: 3.938 kB / 0.668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4178, allocations: 0 / 0.668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.838e-05/0.4179, allocations: 153.4 kB / 0.6681 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4179, allocations: 1.562 kB / 0.6681 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.4179, allocations: 12.03 kB / 0.6681 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.418, allocations: 7.922 kB / 0.6681 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.418, allocations: 1.344 kB / 0.6681 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.418, allocations: 0 / 0.6681 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.418, allocations: 1.188 kB / 0.6681 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.4181, allocations: 86.73 kB / 0.6682 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.4182, allocations: 84.95 kB / 0.6683 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4182, allocations: 1.5 kB / 0.6683 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.4182, allocations: 5.5 kB / 0.6683 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.4183, allocations: 5.484 kB / 0.6683 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.4183, allocations: 0 / 0.6683 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.4183, allocations: 78 kB / 0.6684 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4183, allocations: 160 / 0.6684 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002571/0.4186, allocations: 26.34 kB / 0.6684 GB, free: 3.105 MB / 0.4981 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 () * Number of clocked 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 (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.0005027/0.4191, allocations: 0.65 MB / 0.669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.4192, allocations: 10.72 kB / 0.6691 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4192, allocations: 0 / 0.6691 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.4192, allocations: 15.16 kB / 0.6691 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.4194, allocations: 9.391 kB / 0.6691 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.4203, allocations: 1.132 MB / 0.6702 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.4205, allocations: 0.6729 MB / 0.6708 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.4206, allocations: 10.72 kB / 0.6709 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.4206, allocations: 8.906 kB / 0.6709 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4206, allocations: 5.344 kB / 0.6709 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.4398, allocations: 1.724 MB / 0.6725 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.849, allocations: 10.34 kB / 0.6726 GB, free: 15.69 MB / 0.5137 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/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)