Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001758/0.001758, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00167/0.00167, allocations: 215.2 kB / 22.25 MB, free: 5.262 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: 7.789 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.8178/0.8178, allocations: 134 MB / 446.4 MB, free: 9.934 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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001979/0.001979, allocations: 68.7 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1791, allocations: 85.91 MB / 0.7024 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001735/0.1809, allocations: 0.5861 MB / 0.703 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006624/0.1815, allocations: 291.4 kB / 0.7033 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.1815, allocations: 0 / 0.7033 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1815, allocations: 0 / 0.7033 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.1815, allocations: 0 / 0.7033 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.182, allocations: 107.7 kB / 0.7034 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.672e-05/0.182, allocations: 7.875 kB / 0.7034 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.1821, allocations: 4 kB / 0.7034 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/0.1821, allocations: 3.938 kB / 0.7034 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.056e-05/0.1821, allocations: 0 / 0.7034 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.1821, allocations: 0 / 0.7034 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.1826, allocations: 259.7 kB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1826, allocations: 0 / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.1826, allocations: 0 / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1828, allocations: 92 kB / 0.7037 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1828, allocations: 4 kB / 0.7037 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1828, allocations: 0 / 0.7037 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1828, allocations: 0 / 0.7037 GB, free: 15.72 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003108/0.1831, allocations: 258.2 kB / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1831, allocations: 8.031 kB / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.1832, allocations: 34.75 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1832, allocations: 0.9375 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.774e-05/0.1833, allocations: 110.5 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1833, allocations: 4.312 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.1833, allocations: 384 / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.785e-05/0.1834, allocations: 30.27 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1834, allocations: 3.938 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1834, allocations: 7.938 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1834, allocations: 0 / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.1834, allocations: 0 / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.1836, allocations: 120.8 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.1836, allocations: 14.58 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.1836, allocations: 8.844 kB / 0.7043 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.184, allocations: 44.03 kB / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.184, allocations: 30.56 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.184, allocations: 0 / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.1842, allocations: 45.53 kB / 0.7044 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1842, allocations: 59.39 kB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.1842, allocations: 89.86 kB / 0.7046 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1843, allocations: 25.7 kB / 0.7046 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.1843, allocations: 80.14 kB / 0.7047 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1843, allocations: 128 / 0.7047 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1844, allocations: 17.72 kB / 0.7047 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1845, allocations: 310.8 kB / 0.705 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.1845, allocations: 0 / 0.705 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.1845, allocations: 4 kB / 0.705 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.1846, allocations: 12.8 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1846, allocations: 4 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001163/0.1847, allocations: 33.69 kB / 0.705 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1847, allocations: 4 kB / 0.705 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1847, allocations: 7.875 kB / 0.705 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1847, allocations: 8.094 kB / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.1848, allocations: 0 / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1848, allocations: 0 / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.1848, allocations: 0 / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1848, allocations: 0 / 0.705 GB, free: 14.17 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 (1): * Single equations (assignments): 1 * 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.081e-05/0.1849, allocations: 109.8 kB / 0.7051 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1849, allocations: 3.938 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.185, allocations: 48.56 kB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.185, allocations: 0 / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.185, allocations: 12.03 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.185, allocations: 0 / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1852, allocations: 120.8 kB / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1852, allocations: 0 / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.1852, allocations: 7.984 kB / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1852, allocations: 0 / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1852, allocations: 3.938 kB / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1852, allocations: 0 / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1852, allocations: 0 / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.1853, allocations: 57.14 kB / 0.7054 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.1853, allocations: 3.969 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1854, allocations: 11.92 kB / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.1854, allocations: 0 / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.1854, allocations: 4 kB / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.1854, allocations: 0 / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.1854, allocations: 75.28 kB / 0.7055 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1854, allocations: 0 / 0.7055 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003328/0.1858, allocations: 11.94 kB / 0.7055 GB, free: 13.63 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 (1): * Single equations (assignments): 1 * 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.0006308/0.1864, allocations: 0.6007 MB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.1865, allocations: 15.97 kB / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1865, allocations: 0 / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.1865, allocations: 0 / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1867, allocations: 7.984 kB / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.1871, allocations: 102.7 kB / 0.7062 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.1872, allocations: 59.22 kB / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.1872, allocations: 0 / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.1873, allocations: 11.42 kB / 0.7063 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1873, allocations: 128 / 0.7063 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.2189, allocations: 1.667 MB / 0.7079 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.18, allocations: 10.41 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.708000611048192] Failed to read output from testmodel.py, exit status != 0: 11.288547263946384 11.312865468 11.127099422 Calling exit ...