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.001271/0.001271, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001493/0.001493, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 8 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.9096/0.9096, allocations: 134 MB / 446.4 MB, free: 10.23 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",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.002822/0.002822, allocations: 74.41 kB / 0.6186 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2346, allocations: 85.9 MB / 0.7025 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002204/0.2368, allocations: 0.6001 MB / 0.7031 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.2377, allocations: 351.1 kB / 0.7034 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.2378, allocations: 0 / 0.7034 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.2378, allocations: 0 / 0.7034 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 1.9e-05/0.2378, allocations: 0 / 0.7034 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.2384, allocations: 111.7 kB / 0.7035 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.2384, allocations: 11.92 kB / 0.7035 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.2385, allocations: 8 kB / 0.7035 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.2385, allocations: 0 / 0.7035 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.2386, allocations: 11.92 kB / 0.7035 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2386, allocations: 0 / 0.7035 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.2392, allocations: 275.6 kB / 0.7038 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.2392, allocations: 0 / 0.7038 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.2392, allocations: 4 kB / 0.7038 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.2395, allocations: 99.94 kB / 0.7039 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2395, allocations: 0 / 0.7039 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2395, allocations: 4 kB / 0.7039 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2395, allocations: 0 / 0.7039 GB, free: 15.91 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.0004328/0.2399, allocations: 266.2 kB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.24, allocations: 8.031 kB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.24, allocations: 34.73 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.2401, allocations: 4.938 kB / 0.7042 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2402, allocations: 106.5 kB / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2402, allocations: 384 / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.2402, allocations: 4.375 kB / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2403, allocations: 42.2 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2404, allocations: 3.938 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2404, allocations: 3.984 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.2404, allocations: 0 / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.2404, allocations: 4 kB / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.2406, allocations: 120.8 kB / 0.7045 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.2407, allocations: 22.56 kB / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.2407, allocations: 8.859 kB / 0.7045 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.2414, allocations: 75.92 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.2414, allocations: 46.44 kB / 0.7046 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.2414, allocations: 0 / 0.7046 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006189/0.242, allocations: 177.2 kB / 0.7048 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2421, allocations: 51.41 kB / 0.7048 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.2422, allocations: 97.84 kB / 0.7049 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2422, allocations: 25.7 kB / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.2422, allocations: 84.48 kB / 0.705 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.2423, allocations: 15.91 kB / 0.7051 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.2423, allocations: 9.719 kB / 0.7051 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2425, allocations: 326.8 kB / 0.7054 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.2425, allocations: 4 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.2425, allocations: 17.72 kB / 0.7054 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.479e-05/0.2426, allocations: 29.66 kB / 0.7054 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2426, allocations: 0 / 0.7054 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001368/0.2427, allocations: 49.69 kB / 0.7055 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2427, allocations: 11.94 kB / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2428, allocations: 0 / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2428, allocations: 144 / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.2428, allocations: 11.92 kB / 0.7055 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2429, allocations: 4 kB / 0.7055 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.2429, allocations: 3.984 kB / 0.7055 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2429, allocations: 4.062 kB / 0.7055 GB, free: 14.04 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.97e-05/0.243, allocations: 113.8 kB / 0.7056 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.243, allocations: 3.938 kB / 0.7056 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.2432, allocations: 49.38 kB / 0.7057 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2432, allocations: 4 kB / 0.7057 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2432, allocations: 3.984 kB / 0.7057 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2432, allocations: 4 kB / 0.7057 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2433, allocations: 128.8 kB / 0.7058 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2433, allocations: 0 / 0.7058 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.2434, allocations: 7.938 kB / 0.7058 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2434, allocations: 3.938 kB / 0.7058 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2434, allocations: 0 / 0.7058 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.2434, allocations: 7.922 kB / 0.7058 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2434, allocations: 0 / 0.7058 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.2436, allocations: 77.12 kB / 0.7059 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.2436, allocations: 15.95 kB / 0.7059 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2436, allocations: 3.984 kB / 0.7059 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.2437, allocations: 4.031 kB / 0.7059 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.2437, allocations: 0 / 0.7059 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.2437, allocations: 0 / 0.7059 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.2437, allocations: 83.28 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2437, allocations: 3.938 kB / 0.706 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003309/0.2441, allocations: 23.92 kB / 0.706 GB, free: 13.43 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.0006463/0.2447, allocations: 0.6437 MB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.2448, allocations: 15.98 kB / 0.7067 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2448, allocations: 3.938 kB / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.2449, allocations: 8 kB / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.2451, allocations: 0 / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2464, allocations: 1.128 MB / 0.7078 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.2468, allocations: 0.6805 MB / 0.7084 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.2468, allocations: 0 / 0.7084 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.2468, allocations: 15.44 kB / 0.7085 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.2468, allocations: 0 / 0.7085 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.2782, allocations: 1.833 MB / 0.7102 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.88, allocations: 2.75 kB / 0.7103 GB, free: 9.098 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.627168639999582] Failed to read output from testmodel.py, exit status != 0: 10.988559172998066 11.004576031 10.761837409 Calling exit ...