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.001635/0.001635, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002232/0.002232, allocations: 216.6 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8593/0.8593, allocations: 134 MB / 447.2 MB, free: 10.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001964/0.001964, allocations: 61.66 kB / 0.6194 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1728, allocations: 85.9 MB / 0.7032 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001764/0.1746, allocations: 0.5927 MB / 0.7038 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000756/0.1753, allocations: 331.2 kB / 0.7041 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.562e-05/0.1754, allocations: 0 / 0.7041 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.1754, allocations: 0 / 0.7041 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-06/0.1754, allocations: 0 / 0.7041 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.1758, allocations: 103.6 kB / 0.7042 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.1759, allocations: 4 kB / 0.7042 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.1759, allocations: 4 kB / 0.7042 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.1759, allocations: 7.969 kB / 0.7042 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.18e-05/0.176, allocations: 0 / 0.7042 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.176, allocations: 0 / 0.7042 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.1764, allocations: 275.7 kB / 0.7045 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.1764, allocations: 0 / 0.7045 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.1764, allocations: 0 / 0.7045 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1767, allocations: 92.11 kB / 0.7046 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1767, allocations: 0 / 0.7046 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1767, allocations: 0 / 0.7046 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1767, allocations: 0 / 0.7046 GB, free: 15.98 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.0003367/0.177, allocations: 262.2 kB / 0.7049 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1771, allocations: 12.03 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.293e-05/0.1771, allocations: 192 / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.1771, allocations: 30.75 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.1772, allocations: 0.9375 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.1772, allocations: 110.5 kB / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1772, allocations: 384 / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.1773, allocations: 384 / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1774, allocations: 37.95 kB / 0.705 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1774, allocations: 3.984 kB / 0.705 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1774, allocations: 0 / 0.705 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1774, allocations: 7.984 kB / 0.705 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.1774, allocations: 0 / 0.705 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1775, allocations: 116.8 kB / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.1776, allocations: 18.61 kB / 0.7052 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.1776, allocations: 4.859 kB / 0.7052 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.178, allocations: 55.94 kB / 0.7052 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1781, allocations: 34.5 kB / 0.7053 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1781, allocations: 0 / 0.7053 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.1782, allocations: 37.66 kB / 0.7053 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1783, allocations: 55.53 kB / 0.7054 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.1783, allocations: 89.86 kB / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1783, allocations: 29.64 kB / 0.7055 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.1784, allocations: 84.14 kB / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1784, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.1784, allocations: 13.7 kB / 0.7056 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1786, allocations: 314.8 kB / 0.7059 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.1786, allocations: 4 kB / 0.7059 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.1786, allocations: 7.938 kB / 0.7059 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.1787, allocations: 8.859 kB / 0.7059 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1787, allocations: 0 / 0.7059 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.923e-05/0.1787, allocations: 29.7 kB / 0.7059 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1787, allocations: 7.938 kB / 0.7059 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1787, allocations: 4 kB / 0.7059 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1788, allocations: 0 / 0.7059 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.032e-05/0.1788, allocations: 3.984 kB / 0.7059 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1788, allocations: 0 / 0.7059 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.1788, allocations: 4.094 kB / 0.7059 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1788, allocations: 4 kB / 0.7059 GB, free: 14.41 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 7.889e-05/0.1789, allocations: 109.8 kB / 0.706 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1789, allocations: 11.88 kB / 0.706 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.178e-05/0.179, allocations: 36.69 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.179, allocations: 0 / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.179, allocations: 4 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.179, allocations: 32 / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.679e-05/0.1791, allocations: 116.8 kB / 0.7062 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1791, allocations: 4 kB / 0.7062 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.1791, allocations: 7.938 kB / 0.7062 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1791, allocations: 3.938 kB / 0.7062 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.1791, allocations: 0 / 0.7062 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1791, allocations: 0 / 0.7062 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1792, allocations: 0 / 0.7062 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.927e-05/0.1792, allocations: 69.06 kB / 0.7063 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-06/0.1793, allocations: 0 / 0.7063 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1793, allocations: 3.938 kB / 0.7063 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.1793, allocations: 0 / 0.7063 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.1793, allocations: 0 / 0.7063 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1793, allocations: 7.984 kB / 0.7063 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.1793, allocations: 79.22 kB / 0.7064 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1793, allocations: 0 / 0.7064 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001983/0.1795, allocations: 15.94 kB / 0.7064 GB, free: 13.88 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.0004561/0.18, allocations: 0.6046 MB / 0.707 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.986e-05/0.1801, allocations: 4 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1801, allocations: 0 / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.836e-06/0.1801, allocations: 4 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.1802, allocations: 160 / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1805, allocations: 114.7 kB / 0.7071 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.1808, allocations: 0.6766 MB / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.1808, allocations: 0 / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.1808, allocations: 7.438 kB / 0.7078 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1808, allocations: 0 / 0.7078 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.2025, allocations: 1.305 MB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.14, allocations: 10.5 kB / 0.709 GB, free: 11.21 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.84374963992741] Failed to read output from testmodel.py, exit status != 0: 11.295612943009473 11.312540274 11.132822576 Calling exit ...