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.005239/0.005239, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001288/0.001288, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.982/0.982, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4267, allocations: 80.91 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00164/0.4284, allocations: 0.5871 MB / 0.6648 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.429, allocations: 348.8 kB / 0.6651 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.4291, allocations: 0 / 0.6651 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.4291, allocations: 0 / 0.6651 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.696e-05/0.4291, allocations: 1.125 kB / 0.6651 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.4296, allocations: 115.9 kB / 0.6652 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.4296, allocations: 8.969 kB / 0.6652 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.4297, allocations: 5.422 kB / 0.6652 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.4297, allocations: 2.906 kB / 0.6652 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.4298, allocations: 5.375 kB / 0.6652 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.4298, allocations: 1.312 kB / 0.6652 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.4301, allocations: 278.4 kB / 0.6655 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.4302, allocations: 3.984 kB / 0.6655 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.4302, allocations: 6.188 kB / 0.6655 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.4304, allocations: 89.83 kB / 0.6656 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4304, allocations: 0 / 0.6656 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4304, allocations: 0 / 0.6656 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.4304, allocations: 0 / 0.6656 GB, free: 6.27 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.0002998/0.4307, allocations: 347.3 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4308, allocations: 8.906 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.084e-05/0.4308, allocations: 31.78 kB / 0.666 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.4308, allocations: 10.14 kB / 0.666 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.4309, allocations: 169.5 kB / 0.6661 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.4309, allocations: 5.562 kB / 0.6661 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4309, allocations: 1.75 kB / 0.6661 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.599e-05/0.431, allocations: 34.34 kB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.4311, allocations: 3.938 kB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4311, allocations: 5.406 kB / 0.6662 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4311, allocations: 0 / 0.6662 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.4311, allocations: 2.688 kB / 0.6662 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.4312, allocations: 152.4 kB / 0.6663 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.4313, allocations: 31.61 kB / 0.6664 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.4313, allocations: 6.922 kB / 0.6664 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/0.4319, allocations: 462.7 kB / 0.6668 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4319, allocations: 31.69 kB / 0.6668 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4319, allocations: 1.344 kB / 0.6668 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004484/0.4323, allocations: 262.8 kB / 0.6671 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.4324, allocations: 52.91 kB / 0.6671 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.9e-05/0.4324, allocations: 96.86 kB / 0.6672 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.4324, allocations: 29.7 kB / 0.6673 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.546e-05/0.4325, allocations: 80.14 kB / 0.6673 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.4325, allocations: 13.31 kB / 0.6674 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.4325, allocations: 17.66 kB / 0.6674 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.169e-05/0.4326, allocations: 312.1 kB / 0.6677 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.4326, allocations: 4 kB / 0.6677 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.4326, allocations: 29.95 kB / 0.6677 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.4327, allocations: 23.88 kB / 0.6677 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.4327, allocations: 0 / 0.6677 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.848e-05/0.4328, allocations: 53.34 kB / 0.6678 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4328, allocations: 8.969 kB / 0.6678 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4328, allocations: 1.562 kB / 0.6678 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4328, allocations: 0 / 0.6678 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.4329, allocations: 10.97 kB / 0.6678 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4329, allocations: 0 / 0.6678 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.4329, allocations: 1.5 kB / 0.6678 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4329, allocations: 5.438 kB / 0.6678 GB, free: 3.805 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 5.074e-05/0.433, allocations: 108.8 kB / 0.6679 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.433, allocations: 10.14 kB / 0.6679 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.4332, allocations: 57.05 kB / 0.668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4332, allocations: 5.344 kB / 0.668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4332, allocations: 0 / 0.668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.4332, allocations: 0 / 0.668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/0.4333, allocations: 153.3 kB / 0.6681 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4333, allocations: 1.219 kB / 0.6681 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.4333, allocations: 3.938 kB / 0.6681 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4333, allocations: 8.844 kB / 0.6681 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4333, allocations: 1.062 kB / 0.6681 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4334, allocations: 3.984 kB / 0.6681 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4334, allocations: 0 / 0.6681 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.4335, allocations: 87.19 kB / 0.6682 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.4335, allocations: 81.05 kB / 0.6683 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4335, allocations: 5.344 kB / 0.6683 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.4336, allocations: 5.406 kB / 0.6683 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.4336, allocations: 5.109 kB / 0.6683 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4336, allocations: 1.594 kB / 0.6683 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.161e-05/0.4336, allocations: 76.59 kB / 0.6684 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4337, allocations: 160 / 0.6684 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002111/0.4339, allocations: 27 kB / 0.6684 GB, free: 3.137 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.0004068/0.4343, allocations: 0.6375 MB / 0.669 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.4344, allocations: 23.11 kB / 0.6691 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4344, allocations: 1.469 kB / 0.6691 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.4344, allocations: 9.969 kB / 0.6691 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.4346, allocations: 5.094 kB / 0.6691 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.4353, allocations: 1.14 MB / 0.6702 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4354, allocations: 0.6739 MB / 0.6709 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.4355, allocations: 2 kB / 0.6709 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.4355, allocations: 18.27 kB / 0.6709 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of SimCode: time 1.8e-07/0.4355, allocations: 0 / 0.6709 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.4544, allocations: 1.723 MB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.107, allocations: 12.2 kB / 0.6726 GB, free: 15.71 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)