Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.001344/0.001344, allocations: 110.6 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.002455/0.002455, allocations: 220.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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.984 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.88/0.88, allocations: 134 MB / 446.4 MB, free: 10.22 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.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.002111/0.002111, allocations: 66.23 kB / 0.6185 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2067, allocations: 85.91 MB / 0.7024 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.003069/0.2098, allocations: 1.46 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.2106, allocations: 391.5 kB / 0.7042 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.2107, allocations: 0 / 0.7042 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.2107, allocations: 3.938 kB / 0.7042 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.2108, allocations: 7.922 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.2112, allocations: 116 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.2113, allocations: 27.86 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.2114, allocations: 11.92 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.2114, allocations: 12 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.2115, allocations: 11.92 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2115, allocations: 4 kB / 0.7044 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.2119, allocations: 275.7 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.2119, allocations: 4 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.212, allocations: 15.92 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2122, allocations: 103.7 kB / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2122, allocations: 0 / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2122, allocations: 0 / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2122, allocations: 0 / 0.7048 GB, free: 14.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005681/0.2128, allocations: 298 kB / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2128, allocations: 8.031 kB / 0.7051 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.2129, allocations: 34.75 kB / 0.7051 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.2129, allocations: 4.938 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.213, allocations: 110.5 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.213, allocations: 384 / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2131, allocations: 4.312 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2133, allocations: 50.23 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2133, allocations: 3.938 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2133, allocations: 8 kB / 0.7053 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2133, allocations: 7.984 kB / 0.7053 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2135, allocations: 31.95 kB / 0.7053 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.2138, allocations: 220 kB / 0.7056 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.214, allocations: 50.42 kB / 0.7056 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.2141, allocations: 20.91 kB / 0.7056 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.2147, allocations: 75.92 kB / 0.7057 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2147, allocations: 34.56 kB / 0.7057 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2147, allocations: 0 / 0.7057 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004067/0.2151, allocations: 85.58 kB / 0.7058 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2152, allocations: 51.41 kB / 0.7059 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.2153, allocations: 105.8 kB / 0.706 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2153, allocations: 29.83 kB / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.2154, allocations: 84.08 kB / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.2154, allocations: 11.95 kB / 0.7061 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.2154, allocations: 13.7 kB / 0.7061 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2156, allocations: 314.8 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.2157, allocations: 15.98 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.2158, allocations: 11.98 kB / 0.7064 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.2159, allocations: 48.88 kB / 0.7065 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.2159, allocations: 3.938 kB / 0.7065 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.2161, allocations: 65.61 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2162, allocations: 8 kB / 0.7065 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2162, allocations: 3.984 kB / 0.7065 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2162, allocations: 4.031 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2163, allocations: 4 kB / 0.7066 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2163, allocations: 0 / 0.7066 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.2163, allocations: 15.88 kB / 0.7066 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2164, allocations: 4 kB / 0.7066 GB, free: 12.92 MB / 0.5294 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 (2): * Single equations (assignments): 2 * 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.164e-05/0.2164, allocations: 113.8 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.2165, allocations: 4 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.2167, allocations: 73.22 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2167, allocations: 3.984 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2168, allocations: 4 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2168, allocations: 4.188 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.2169, allocations: 136.7 kB / 0.7069 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2169, allocations: 4 kB / 0.7069 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.217, allocations: 11.98 kB / 0.7069 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.217, allocations: 0 / 0.7069 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.217, allocations: 0 / 0.7069 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.217, allocations: 4.031 kB / 0.7069 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.217, allocations: 0 / 0.7069 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.2173, allocations: 163.5 kB / 0.7071 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.2173, allocations: 7.953 kB / 0.7071 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.2173, allocations: 0 / 0.7071 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.2174, allocations: 8.016 kB / 0.7071 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.2174, allocations: 4 kB / 0.7071 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2174, allocations: 0 / 0.7071 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.2175, allocations: 91.27 kB / 0.7072 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2175, allocations: 0 / 0.7072 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002538/0.2178, allocations: 12 kB / 0.7072 GB, free: 12.21 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006519/0.2184, allocations: 0.7104 MB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.2186, allocations: 35.97 kB / 0.7079 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2186, allocations: 3.938 kB / 0.7079 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.2187, allocations: 23.92 kB / 0.7079 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.219, allocations: 4.156 kB / 0.7079 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.2195, allocations: 147.2 kB / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2198, allocations: 0.6805 MB / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.2198, allocations: 0 / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.2199, allocations: 11.44 kB / 0.7088 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2199, allocations: 0 / 0.7088 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.249, allocations: 1.704 MB / 0.7104 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.06, allocations: 10.88 kB / 0.7104 GB, free: 8.93 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.849252359003003] Failed to read output from testmodel.py, exit status != 0: 11.164238992001629 11.188273729 10.971801662 Calling exit ...