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.001549/0.001549, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001467/0.001467, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9071/0.9071, allocations: 133.9 MB / 443.5 MB, free: 13.87 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.001974/0.001974, allocations: 70.66 kB / 0.6141 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1911, allocations: 85.85 MB / 0.6979 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.00294/0.194, allocations: 1.454 MB / 0.6994 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.1948, allocations: 383.7 kB / 0.6997 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.1949, allocations: 4 kB / 0.6997 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.1949, allocations: 5.781 kB / 0.6997 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.195, allocations: 3.984 kB / 0.6997 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.1954, allocations: 115.6 kB / 0.6999 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.854e-05/0.1955, allocations: 26.16 kB / 0.6999 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.1956, allocations: 10.77 kB / 0.6999 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.1956, allocations: 2.969 kB / 0.6999 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.1957, allocations: 19.52 kB / 0.6999 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1957, allocations: 2 kB / 0.6999 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.1961, allocations: 275.6 kB / 0.7002 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1961, allocations: 5.359 kB / 0.7002 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.1961, allocations: 10.69 kB / 0.7002 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1963, allocations: 110.8 kB / 0.7003 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1963, allocations: 3.984 kB / 0.7003 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1963, allocations: 0 / 0.7003 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1963, allocations: 1.375 kB / 0.7003 GB, free: 11.89 MB / 0.5137 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.0005259/0.1968, allocations: 378.2 kB / 0.7007 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1969, allocations: 11.3 kB / 0.7007 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.1969, allocations: 1.562 kB / 0.7007 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.1969, allocations: 30.75 kB / 0.7007 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.197, allocations: 2.312 kB / 0.7007 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1971, allocations: 167.1 kB / 0.7009 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1971, allocations: 4.375 kB / 0.7009 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1971, allocations: 1.75 kB / 0.7009 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1973, allocations: 62.3 kB / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1973, allocations: 0 / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1973, allocations: 0 / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1973, allocations: 1.375 kB / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1975, allocations: 31.22 kB / 0.701 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1978, allocations: 257.1 kB / 0.7012 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.198, allocations: 40.31 kB / 0.7012 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.1981, allocations: 30.39 kB / 0.7013 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/0.1988, allocations: 454.8 kB / 0.7017 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1988, allocations: 31.94 kB / 0.7017 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1988, allocations: 0 / 0.7017 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003905/0.1992, allocations: 82.64 kB / 0.7018 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1993, allocations: 51.41 kB / 0.7019 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.1994, allocations: 110.2 kB / 0.702 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1994, allocations: 25.7 kB / 0.702 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.1994, allocations: 85.52 kB / 0.7021 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1994, allocations: 5.328 kB / 0.7021 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1995, allocations: 11.09 kB / 0.7021 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1996, allocations: 320.2 kB / 0.7024 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.1997, allocations: 17.55 kB / 0.7024 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.1998, allocations: 21.61 kB / 0.7024 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1999, allocations: 44 kB / 0.7025 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1999, allocations: 1.375 kB / 0.7025 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002058/0.2001, allocations: 61.05 kB / 0.7025 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2001, allocations: 6.906 kB / 0.7025 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2002, allocations: 4.094 kB / 0.7026 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2002, allocations: 3.938 kB / 0.7026 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.2002, allocations: 10.86 kB / 0.7026 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2002, allocations: 0 / 0.7026 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.2003, allocations: 20 kB / 0.7026 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2003, allocations: 5.312 kB / 0.7026 GB, free: 9.496 MB / 0.5137 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 8.523e-05/0.2004, allocations: 115.8 kB / 0.7027 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.2004, allocations: 1.375 kB / 0.7027 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.2007, allocations: 80.55 kB / 0.7028 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2007, allocations: 1.375 kB / 0.7028 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2007, allocations: 0 / 0.7028 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2007, allocations: 3.984 kB / 0.7028 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.2008, allocations: 163.1 kB / 0.7029 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2008, allocations: 0 / 0.7029 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.2009, allocations: 11.11 kB / 0.7029 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2009, allocations: 0 / 0.7029 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2009, allocations: 9.406 kB / 0.703 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2009, allocations: 0 / 0.703 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2009, allocations: 0 / 0.703 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.2012, allocations: 168.8 kB / 0.7031 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.2012, allocations: 82.53 kB / 0.7032 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2012, allocations: 0 / 0.7032 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.2013, allocations: 11.89 kB / 0.7032 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.2014, allocations: 1.594 kB / 0.7032 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.2014, allocations: 0 / 0.7032 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.2014, allocations: 89.14 kB / 0.7033 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2014, allocations: 0 / 0.7033 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002449/0.2016, allocations: 12.34 kB / 0.7033 GB, free: 8.742 MB / 0.5137 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.0006375/0.2023, allocations: 0.712 MB / 0.704 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2025, allocations: 41.61 kB / 0.704 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2025, allocations: 1.094 kB / 0.704 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.2026, allocations: 19.14 kB / 0.7041 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2029, allocations: 10 kB / 0.7041 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.2033, allocations: 144 kB / 0.7042 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.2036, allocations: 0.6821 MB / 0.7049 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.2036, allocations: 5.25 kB / 0.7049 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.2037, allocations: 13.12 kB / 0.7049 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2037, allocations: 0 / 0.7049 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.221, allocations: 1.631 MB / 0.7065 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.441, allocations: 14.05 kB / 0.7065 GB, free: 5.703 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.356937528005801] Failed to read output from testmodel.py, exit status != 0: 8.89306150196353 8.584305001 8.385182119 Calling exit ...