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.00126/0.00126, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001756/0.001756, allocations: 211.3 kB / 23.04 MB, free: 5.074 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8573/0.8573, allocations: 134 MB / 447.2 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.002014/0.002014, allocations: 62.38 kB / 0.6193 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1945, allocations: 85.9 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002937/0.1974, allocations: 1.466 MB / 0.7046 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.1983, allocations: 399.5 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.1983, allocations: 0 / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.1983, allocations: 3.938 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.1984, allocations: 3.984 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1989, allocations: 115.9 kB / 0.7051 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.1989, allocations: 31.86 kB / 0.7052 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.199, allocations: 11.92 kB / 0.7052 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.1991, allocations: 4 kB / 0.7052 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.091e-05/0.1991, allocations: 15.92 kB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1991, allocations: 4 kB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.1995, allocations: 275.7 kB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.1995, allocations: 4 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1996, allocations: 11.94 kB / 0.7055 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1998, allocations: 107.7 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1998, allocations: 0 / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.075e-06/0.1998, allocations: 4 kB / 0.7056 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1998, allocations: 0 / 0.7056 GB, free: 14.94 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.0004674/0.2003, allocations: 290 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2003, allocations: 12.02 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.087e-05/0.2003, allocations: 192 / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.2003, allocations: 34.75 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.2004, allocations: 4.938 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2005, allocations: 114.5 kB / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2005, allocations: 4.312 kB / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.2005, allocations: 384 / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2007, allocations: 61.91 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2007, allocations: 0 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2007, allocations: 0 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2007, allocations: 0 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.2009, allocations: 39.95 kB / 0.7061 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.2012, allocations: 228 kB / 0.7063 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.2014, allocations: 42.48 kB / 0.7064 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.2015, allocations: 16.91 kB / 0.7064 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.202, allocations: 75.92 kB / 0.7065 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.202, allocations: 34.56 kB / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 4.458e-06/0.202, allocations: 4 kB / 0.7065 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004129/0.2024, allocations: 81.64 kB / 0.7066 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2025, allocations: 51.41 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.2025, allocations: 105.8 kB / 0.7067 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2026, allocations: 25.7 kB / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.2026, allocations: 84.14 kB / 0.7068 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2026, allocations: 4.078 kB / 0.7068 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.2027, allocations: 17.72 kB / 0.7069 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2028, allocations: 322.8 kB / 0.7072 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.2029, allocations: 15.98 kB / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.203, allocations: 15.98 kB / 0.7072 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.2031, allocations: 48.81 kB / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2031, allocations: 0 / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.2033, allocations: 61.67 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2034, allocations: 4 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2034, allocations: 0 / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2034, allocations: 4 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.2035, allocations: 7.984 kB / 0.7073 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2035, allocations: 3.938 kB / 0.7073 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.2035, allocations: 19.91 kB / 0.7073 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.2035, allocations: 0 / 0.7073 GB, free: 12.95 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.235e-05/0.2036, allocations: 117.8 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.2037, allocations: 3.938 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.2039, allocations: 77.53 kB / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2039, allocations: 0 / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2039, allocations: 8.016 kB / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2039, allocations: 0 / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2041, allocations: 136.7 kB / 0.7077 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2041, allocations: 0 / 0.7077 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.2041, allocations: 11.92 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2041, allocations: 4 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2041, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2041, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2041, allocations: 3.938 kB / 0.7077 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.2044, allocations: 167.5 kB / 0.7078 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.2044, allocations: 7.953 kB / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2044, allocations: 0 / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.2045, allocations: 7.984 kB / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.2045, allocations: 0 / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2045, allocations: 0 / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.2046, allocations: 91.3 kB / 0.7079 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2046, allocations: 0 / 0.7079 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002287/0.2048, allocations: 12 kB / 0.708 GB, free: 12.23 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.0006555/0.2055, allocations: 0.7045 MB / 0.7086 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.2057, allocations: 43.98 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2057, allocations: 4 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.2058, allocations: 11.98 kB / 0.7087 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2061, allocations: 8 kB / 0.7087 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.2066, allocations: 151.3 kB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2069, allocations: 0.6805 MB / 0.7095 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.2069, allocations: 0 / 0.7095 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.2069, allocations: 15.44 kB / 0.7095 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2069, allocations: 0 / 0.7095 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.23, allocations: 1.736 MB / 0.7112 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.24, allocations: 14.06 kB / 0.7112 GB, free: 8.934 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.911574949976057] Failed to read output from testmodel.py, exit status != 0: 11.39592798508238 11.424046482 11.219107895 Calling exit ...