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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.8423/0.8423, allocations: 134 MB / 436.6 MB, free: 1.285 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 72.73 kB / 0.6051 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1908, allocations: 84.68 MB / 0.6878 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002987/0.1938, allocations: 1.439 MB / 0.6892 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003301/0.1941, allocations: 97 kB / 0.6893 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.1942, allocations: 0 / 0.6893 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.1942, allocations: 4 kB / 0.6893 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.1943, allocations: 3.938 kB / 0.6893 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1945, allocations: 15.97 kB / 0.6893 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.1946, allocations: 23.94 kB / 0.6894 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.1947, allocations: 7.984 kB / 0.6894 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.1947, allocations: 11.92 kB / 0.6894 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.1948, allocations: 15.92 kB / 0.6894 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1948, allocations: 4 kB / 0.6894 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.1948, allocations: 15.98 kB / 0.6894 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1949, allocations: 0 / 0.6894 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.1949, allocations: 23.86 kB / 0.6894 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.195, allocations: 32.12 kB / 0.6895 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.195, allocations: 0 / 0.6895 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.195, allocations: 0 / 0.6895 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.195, allocations: 0 / 0.6895 GB, free: 9.371 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.0005089/0.1955, allocations: 347.3 kB / 0.6898 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1956, allocations: 8.031 kB / 0.6898 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1956, allocations: 38.75 kB / 0.6898 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1958, allocations: 20.86 kB / 0.6899 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1959, allocations: 168.4 kB / 0.69 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1959, allocations: 384 / 0.69 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.196, allocations: 4.375 kB / 0.69 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1962, allocations: 58.22 kB / 0.6901 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1962, allocations: 3.938 kB / 0.6901 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1962, allocations: 4 kB / 0.6901 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1962, allocations: 0 / 0.6901 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.1964, allocations: 51.89 kB / 0.6901 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.1968, allocations: 261 kB / 0.6904 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.197, allocations: 50.48 kB / 0.6904 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1971, allocations: 28.91 kB / 0.6905 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1971, allocations: 3.984 kB / 0.6905 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1971, allocations: 38.56 kB / 0.6905 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1971, allocations: 0 / 0.6905 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003926/0.1975, allocations: 101.6 kB / 0.6906 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1976, allocations: 55.41 kB / 0.6907 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.1976, allocations: 101.9 kB / 0.6907 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1977, allocations: 33.62 kB / 0.6908 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.1977, allocations: 88.14 kB / 0.6909 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1977, allocations: 7.891 kB / 0.6909 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.1978, allocations: 17.72 kB / 0.6909 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1979, allocations: 310.8 kB / 0.6912 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.198, allocations: 27.97 kB / 0.6912 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/0.1981, allocations: 23.97 kB / 0.6912 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1983, allocations: 48.81 kB / 0.6913 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1983, allocations: 3.938 kB / 0.6913 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002418/0.1985, allocations: 85.66 kB / 0.6914 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1985, allocations: 4 kB / 0.6914 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1985, allocations: 0 / 0.6914 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1985, allocations: 0 / 0.6914 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1987, allocations: 11.98 kB / 0.6914 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1987, allocations: 0 / 0.6914 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1987, allocations: 11.98 kB / 0.6914 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1987, allocations: 11.97 kB / 0.6914 GB, free: 7.145 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.352e-05/0.1988, allocations: 109.8 kB / 0.6915 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.1988, allocations: 3.984 kB / 0.6915 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.1989, allocations: 7.531 kB / 0.6915 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1989, allocations: 0 / 0.6915 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1989, allocations: 0 / 0.6915 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.1989, allocations: 0 / 0.6915 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1991, allocations: 173.8 kB / 0.6917 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1991, allocations: 4 kB / 0.6917 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.1991, allocations: 15.98 kB / 0.6917 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1991, allocations: 0 / 0.6917 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.1992, allocations: 3.938 kB / 0.6917 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1992, allocations: 0 / 0.6917 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1992, allocations: 0 / 0.6917 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1994, allocations: 183.4 kB / 0.6919 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.1995, allocations: 77.11 kB / 0.692 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1995, allocations: 0 / 0.692 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.1996, allocations: 15.97 kB / 0.692 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1996, allocations: 0 / 0.692 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1996, allocations: 0 / 0.692 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.1997, allocations: 91.2 kB / 0.6921 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1997, allocations: 0 / 0.6921 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002196/0.1999, allocations: 8 kB / 0.6921 GB, free: 6.363 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.0006054/0.2005, allocations: 0.7084 MB / 0.6928 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.2008, allocations: 55.98 kB / 0.6928 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2008, allocations: 0 / 0.6928 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.2009, allocations: 23.97 kB / 0.6928 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2012, allocations: 4 kB / 0.6928 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.2017, allocations: 159 kB / 0.693 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.202, allocations: 0.6808 MB / 0.6937 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.202, allocations: 4 kB / 0.6937 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.2021, allocations: 15.42 kB / 0.6937 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2021, allocations: 0 / 0.6937 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.2275, allocations: 1.446 MB / 0.6951 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.051, allocations: 7.938 kB / 0.6951 GB, free: 3.266 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.563840876333416] Failed to read output from testmodel.py, exit status != 0: 8.119677024893463 8.138113556 7.94013027 Calling exit ...