Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.001326/0.001326, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001456/0.001456, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8399/0.8399, allocations: 134 MB / 447.2 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.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",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.00324/0.00324, allocations: 65.86 kB / 0.6193 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1859, allocations: 85.9 MB / 0.7032 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002027/0.1879, allocations: 0.5826 MB / 0.7037 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.1883, allocations: 100.1 kB / 0.7038 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.1883, allocations: 0 / 0.7038 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1883, allocations: 0 / 0.7038 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.1884, allocations: 0 / 0.7038 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1886, allocations: 23.92 kB / 0.7039 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.1887, allocations: 8 kB / 0.7039 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.1887, allocations: 3.984 kB / 0.7039 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.1888, allocations: 4 kB / 0.7039 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.1888, allocations: 0 / 0.7039 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1889, allocations: 3.938 kB / 0.7039 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.1889, allocations: 15.98 kB / 0.7039 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1889, allocations: 3.984 kB / 0.7039 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.189, allocations: 7.938 kB / 0.7039 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1891, allocations: 16.2 kB / 0.7039 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1891, allocations: 4 kB / 0.7039 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1891, allocations: 0 / 0.7039 GB, free: 296 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.1891, allocations: 0 / 0.7039 GB, free: 296 kB / 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.0003603/0.1894, allocations: 238.5 kB / 0.7042 GB, free: 24 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1895, allocations: 8.031 kB / 0.7042 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.068e-05/0.1895, allocations: 12.17 kB / 0.7042 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.1895, allocations: 30.75 kB / 0.7042 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.1897, allocations: 12.88 kB / 0.7042 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.1898, allocations: 110.5 kB / 0.7043 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1898, allocations: 8.375 kB / 0.7043 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1898, allocations: 384 / 0.7043 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.19, allocations: 45.94 kB / 0.7044 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.19, allocations: 0 / 0.7044 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.19, allocations: 0 / 0.7044 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.19, allocations: 4 kB / 0.7044 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1901, allocations: 7.984 kB / 0.7044 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1902, allocations: 124.7 kB / 0.7045 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1904, allocations: 46.59 kB / 0.7046 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.1905, allocations: 16.86 kB / 0.7046 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1905, allocations: 0 / 0.7046 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1905, allocations: 42.48 kB / 0.7046 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1905, allocations: 0 / 0.7046 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002188/0.1907, allocations: 49.69 kB / 0.7047 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1908, allocations: 55.41 kB / 0.7047 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.808e-05/0.1908, allocations: 93.86 kB / 0.7048 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1908, allocations: 25.7 kB / 0.7048 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1909, allocations: 84.12 kB / 0.7049 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1909, allocations: 7.953 kB / 0.7049 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1909, allocations: 17.72 kB / 0.7049 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1911, allocations: 310.8 kB / 0.7052 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.1911, allocations: 11.92 kB / 0.7052 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.1912, allocations: 4 kB / 0.7052 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.1912, allocations: 20.84 kB / 0.7053 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1912, allocations: 4 kB / 0.7053 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001148/0.1914, allocations: 45.97 kB / 0.7053 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1914, allocations: 11.94 kB / 0.7053 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1914, allocations: 3.984 kB / 0.7053 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1914, allocations: 3.938 kB / 0.7053 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.1918, allocations: 39.98 kB / 0.7054 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1932, allocations: 1.305 MB / 0.7066 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.1932, allocations: 3.984 kB / 0.7066 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1933, allocations: 0 / 0.7066 GB, free: 13.21 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/0.1933, allocations: 118 kB / 0.7068 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.1934, allocations: 3.953 kB / 0.7068 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.1934, allocations: 7.531 kB / 0.7068 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1934, allocations: 0 / 0.7068 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1934, allocations: 4 kB / 0.7068 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1934, allocations: 3.938 kB / 0.7068 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1935, allocations: 128.7 kB / 0.7069 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1935, allocations: 0 / 0.7069 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.1939, allocations: 43.94 kB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1939, allocations: 4 kB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1939, allocations: 7.922 kB / 0.7069 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.1951, allocations: 1.305 MB / 0.7082 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1951, allocations: 4.031 kB / 0.7082 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.1953, allocations: 69.11 kB / 0.7083 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.1953, allocations: 11.97 kB / 0.7083 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.1953, allocations: 4.125 kB / 0.7083 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.549e-05/0.1953, allocations: 4 kB / 0.7083 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.1953, allocations: 4 kB / 0.7083 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1953, allocations: 7.984 kB / 0.7083 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.1954, allocations: 75.28 kB / 0.7084 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1954, allocations: 0 / 0.7084 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001885/0.1955, allocations: 4 kB / 0.7084 GB, free: 11.22 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005009/0.196, allocations: 0.6085 MB / 0.709 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.1965, allocations: 59.92 kB / 0.709 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1965, allocations: 0 / 0.709 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.1968, allocations: 39.89 kB / 0.7091 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1969, allocations: 4 kB / 0.7091 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.1974, allocations: 118.6 kB / 0.7092 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.1974, allocations: 63.28 kB / 0.7093 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.1975, allocations: 0 / 0.7093 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.1975, allocations: 15.38 kB / 0.7093 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1975, allocations: 0 / 0.7093 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.2202, allocations: 1.428 MB / 0.7107 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.81, allocations: 5.375 kB / 0.7107 GB, free: 8.938 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.378742296015844] Failed to read output from testmodel.py, exit status != 0: 12.984896347974427 13.013774281 12.818954176 Calling exit ...