Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 214.2 kB / 23.03 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8464/0.8464, allocations: 134 MB / 447.2 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 66.03 kB / 0.6193 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1667, allocations: 85.91 MB / 0.7032 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002097/0.1688, allocations: 0.5954 MB / 0.7038 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008986/0.1697, allocations: 307.3 kB / 0.7041 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.1697, allocations: 0 / 0.7041 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.1697, allocations: 4 kB / 0.7041 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.1697, allocations: 3.938 kB / 0.7041 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.1702, allocations: 103.7 kB / 0.7042 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.1703, allocations: 11.98 kB / 0.7042 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.1703, allocations: 4 kB / 0.7042 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.1704, allocations: 0 / 0.7042 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.1704, allocations: 4 kB / 0.7042 GB, free: 0 / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1704, allocations: 0 / 0.7042 GB, free: 0 / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.1709, allocations: 279.7 kB / 0.7045 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.1709, allocations: 11.92 kB / 0.7045 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1709, allocations: 0 / 0.7045 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1711, allocations: 92.02 kB / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1711, allocations: 0 / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1711, allocations: 0 / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.1711, allocations: 3.938 kB / 0.7046 GB, free: 15.62 MB / 0.5294 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.0004155/0.1715, allocations: 274.1 kB / 0.7048 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.1716, allocations: 12.03 kB / 0.7048 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.1716, allocations: 192 / 0.7048 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.1716, allocations: 30.75 kB / 0.7049 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1717, allocations: 4.938 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1718, allocations: 110.5 kB / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1718, allocations: 384 / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1718, allocations: 384 / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.172, allocations: 67.7 kB / 0.705 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.172, allocations: 4 kB / 0.705 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.172, allocations: 0 / 0.705 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.172, allocations: 0 / 0.705 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.172, allocations: 3.938 kB / 0.705 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1722, allocations: 124.7 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.1722, allocations: 30.59 kB / 0.7052 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.1723, allocations: 8.859 kB / 0.7052 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/0.1728, allocations: 67.98 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1728, allocations: 46.44 kB / 0.7053 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1728, allocations: 0 / 0.7053 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005012/0.1733, allocations: 177.2 kB / 0.7055 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1734, allocations: 55.41 kB / 0.7055 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.1735, allocations: 93.84 kB / 0.7056 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1735, allocations: 29.7 kB / 0.7056 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.1735, allocations: 84.14 kB / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1735, allocations: 7.906 kB / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1736, allocations: 26 kB / 0.7058 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1737, allocations: 318.8 kB / 0.7061 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.1737, allocations: 4 kB / 0.7061 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.1738, allocations: 21.72 kB / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/0.1738, allocations: 21.72 kB / 0.7061 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1738, allocations: 3.938 kB / 0.7061 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001051/0.1739, allocations: 57.56 kB / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1739, allocations: 4 kB / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.174, allocations: 4 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.174, allocations: 4.062 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.174, allocations: 7.984 kB / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.174, allocations: 4 kB / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.1741, allocations: 0 / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1741, allocations: 0 / 0.7062 GB, free: 13.71 MB / 0.5294 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 9.373e-05/0.1742, allocations: 113.8 kB / 0.7063 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1742, allocations: 3.938 kB / 0.7063 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.1743, allocations: 57.31 kB / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1743, allocations: 4 kB / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1743, allocations: 0 / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1743, allocations: 7.984 kB / 0.7064 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.1745, allocations: 120.8 kB / 0.7065 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1745, allocations: 0 / 0.7065 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.1745, allocations: 7.938 kB / 0.7065 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1745, allocations: 0 / 0.7065 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1745, allocations: 3.984 kB / 0.7065 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1745, allocations: 0 / 0.7065 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1745, allocations: 0 / 0.7065 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.1747, allocations: 81.06 kB / 0.7066 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.1747, allocations: 15.95 kB / 0.7066 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1747, allocations: 4.031 kB / 0.7066 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.1748, allocations: 0 / 0.7066 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.1748, allocations: 7.984 kB / 0.7066 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1748, allocations: 4 kB / 0.7066 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.1748, allocations: 75.28 kB / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1748, allocations: 3.938 kB / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000213/0.175, allocations: 23.94 kB / 0.7067 GB, free: 13.11 MB / 0.5294 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.0005873/0.1756, allocations: 0.6361 MB / 0.7073 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.863e-05/0.1757, allocations: 23.98 kB / 0.7073 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1757, allocations: 0 / 0.7073 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.1758, allocations: 7.938 kB / 0.7074 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.1759, allocations: 8 kB / 0.7074 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.177, allocations: 1.131 MB / 0.7085 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.1771, allocations: 59.22 kB / 0.7085 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.1771, allocations: 8.188 kB / 0.7085 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.1772, allocations: 15.42 kB / 0.7085 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1772, allocations: 0 / 0.7085 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.2023, allocations: 1.886 MB / 0.7104 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.29, allocations: 8.047 kB / 0.7104 GB, free: 9.336 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.921171811991371] Failed to read output from testmodel.py, exit status != 0: 11.449045291985385 11.466234456 11.292083718 Calling exit ...