Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001352/0.001352, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001738/0.001738, allocations: 217.3 kB / 22.25 MB, free: 5.078 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 8.008 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.8913/0.8913, allocations: 134 MB / 446.4 MB, free: 10.22 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.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",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.001985/0.001985, allocations: 68.58 kB / 0.6185 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1822, allocations: 85.92 MB / 0.7024 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003807/0.186, allocations: 1.467 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000338/0.1864, allocations: 92.59 kB / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1864, allocations: 0 / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.751e-05/0.1865, allocations: 0 / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.1865, allocations: 3.938 kB / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1869, allocations: 23.91 kB / 0.704 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.187, allocations: 23.92 kB / 0.704 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1872, allocations: 7.984 kB / 0.704 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/0.1872, allocations: 15.94 kB / 0.704 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.1873, allocations: 11.92 kB / 0.7041 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1873, allocations: 4 kB / 0.7041 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.1874, allocations: 15.98 kB / 0.7041 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1874, allocations: 0 / 0.7041 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.1875, allocations: 11.94 kB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1876, allocations: 40.09 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1877, allocations: 3.938 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1877, allocations: 0 / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.1877, allocations: 0 / 0.7041 GB, free: 15.64 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.0006535/0.1883, allocations: 274.2 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.1884, allocations: 12.03 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.1884, allocations: 34.75 kB / 0.7044 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.1887, allocations: 12.92 kB / 0.7044 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.1888, allocations: 110.5 kB / 0.7045 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.1888, allocations: 4.375 kB / 0.7046 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1889, allocations: 384 / 0.7046 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1891, allocations: 58.17 kB / 0.7046 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1891, allocations: 7.938 kB / 0.7046 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1891, allocations: 0 / 0.7046 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1891, allocations: 0 / 0.7046 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.1894, allocations: 51.94 kB / 0.7047 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.19, allocations: 228 kB / 0.7049 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1903, allocations: 58.48 kB / 0.7049 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1904, allocations: 36.83 kB / 0.705 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1904, allocations: 0 / 0.705 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.1905, allocations: 30.56 kB / 0.705 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1905, allocations: 3.938 kB / 0.705 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0005702/0.1911, allocations: 105.6 kB / 0.7051 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1911, allocations: 51.41 kB / 0.7052 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1912, allocations: 105.8 kB / 0.7053 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1912, allocations: 25.7 kB / 0.7053 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.1913, allocations: 84.14 kB / 0.7054 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1913, allocations: 8.016 kB / 0.7054 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1914, allocations: 21.7 kB / 0.7054 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1916, allocations: 314.8 kB / 0.7057 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1917, allocations: 27.91 kB / 0.7057 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1918, allocations: 19.98 kB / 0.7057 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.1921, allocations: 52.88 kB / 0.7058 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.1921, allocations: 7.938 kB / 0.7058 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003198/0.1924, allocations: 77.64 kB / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1924, allocations: 8 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1924, allocations: 0 / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1924, allocations: 0 / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1926, allocations: 16.02 kB / 0.7059 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1926, allocations: 0 / 0.7059 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.1927, allocations: 15.88 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1927, allocations: 0 / 0.7059 GB, free: 13.61 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 0.0001137/0.1928, allocations: 117.8 kB / 0.706 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1928, allocations: 3.938 kB / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.1929, allocations: 3.625 kB / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1929, allocations: 0 / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1929, allocations: 4 kB / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1929, allocations: 4 kB / 0.706 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.1932, allocations: 140.7 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1932, allocations: 0 / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.1933, allocations: 8.25 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.1933, allocations: 3.984 kB / 0.7062 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1934, allocations: 8 kB / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1934, allocations: 0 / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1934, allocations: 0 / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.1937, allocations: 175.5 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.1938, allocations: 7.938 kB / 0.7064 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1938, allocations: 7.875 kB / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1939, allocations: 4 kB / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.194, allocations: 15.97 kB / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.194, allocations: 0 / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.194, allocations: 83.31 kB / 0.7065 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.194, allocations: 0 / 0.7065 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003959/0.1944, allocations: 4 kB / 0.7065 GB, free: 12.96 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.001048/0.1955, allocations: 0.7085 MB / 0.7072 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1958, allocations: 55.88 kB / 0.7072 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1958, allocations: 0 / 0.7072 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.196, allocations: 23.98 kB / 0.7072 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.1964, allocations: 8.109 kB / 0.7072 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.1971, allocations: 151.2 kB / 0.7074 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1975, allocations: 0.6805 MB / 0.7081 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.1976, allocations: 0 / 0.7081 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.1976, allocations: 11.44 kB / 0.7081 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.1976, allocations: 4 kB / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.2291, allocations: 1.569 MB / 0.7096 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 5.156 kB / 0.7096 GB, free: 9.797 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.826869975076988] Failed to read output from testmodel.py, exit status != 0: 11.303030111128464 11.32003828 11.129156363 Calling exit ...