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.001732/0.001732, 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.002458/0.002458, allocations: 214.9 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.8572/0.8572, allocations: 134 MB / 447.2 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001908/0.001908, allocations: 70.44 kB / 0.6193 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1968, allocations: 85.91 MB / 0.7032 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002849/0.1996, allocations: 1.464 MB / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.1999, allocations: 92.66 kB / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.1999, allocations: 0 / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.2, allocations: 3.938 kB / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.2, allocations: 7.938 kB / 0.7047 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.2002, allocations: 15.97 kB / 0.7048 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.2003, allocations: 19.94 kB / 0.7048 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.2004, allocations: 7.984 kB / 0.7048 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.2004, allocations: 11.94 kB / 0.7048 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.2005, allocations: 19.91 kB / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2005, allocations: 0 / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.2005, allocations: 23.98 kB / 0.7048 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.2005, allocations: 4 kB / 0.7048 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.2006, allocations: 3.938 kB / 0.7049 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2007, allocations: 40.11 kB / 0.7049 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2007, allocations: 0 / 0.7049 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2007, allocations: 0 / 0.7049 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2007, allocations: 0 / 0.7049 GB, free: 15.7 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.0004403/0.2011, allocations: 273 kB / 0.7051 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2012, allocations: 8.031 kB / 0.7052 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.398e-05/0.2012, allocations: 8.125 kB / 0.7052 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.2012, allocations: 38.69 kB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.2014, allocations: 12.92 kB / 0.7052 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2015, allocations: 110.5 kB / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2015, allocations: 384 / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2015, allocations: 384 / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.2017, allocations: 57.98 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2017, allocations: 4 kB / 0.7054 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2017, allocations: 4 kB / 0.7054 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2017, allocations: 4 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.2019, allocations: 43.94 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.2023, allocations: 247.9 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2025, allocations: 54.48 kB / 0.7057 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.2026, allocations: 28.89 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.2026, allocations: 0 / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2026, allocations: 34.56 kB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2026, allocations: 0 / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004189/0.2031, allocations: 105.6 kB / 0.7059 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.2031, allocations: 51.41 kB / 0.7059 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.2032, allocations: 105.8 kB / 0.706 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2032, allocations: 25.7 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.2033, allocations: 88.14 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.2033, allocations: 11.88 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.2033, allocations: 17.84 kB / 0.7062 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2035, allocations: 314.8 kB / 0.7065 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.2036, allocations: 23.97 kB / 0.7065 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.2037, allocations: 19.98 kB / 0.7065 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.2039, allocations: 56.81 kB / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2039, allocations: 0 / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002698/0.2042, allocations: 85.58 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2042, allocations: 6.344 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2042, allocations: 0 / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2042, allocations: 0 / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2043, allocations: 12.02 kB / 0.7067 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2043, allocations: 4 kB / 0.7067 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.2044, allocations: 15.92 kB / 0.7067 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2044, allocations: 4 kB / 0.7067 GB, free: 13.67 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 8.872e-05/0.2045, allocations: 113.8 kB / 0.7068 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2045, allocations: 4.25 kB / 0.7068 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2045, allocations: 3.625 kB / 0.7068 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2045, allocations: 0 / 0.7068 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2045, allocations: 7.984 kB / 0.7068 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2045, allocations: 4 kB / 0.7068 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.2047, allocations: 144.6 kB / 0.7069 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2047, allocations: 0 / 0.7069 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.2048, allocations: 11.98 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2048, allocations: 0 / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2048, allocations: 0 / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2048, allocations: 7.875 kB / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.2048, allocations: 3.984 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.2051, allocations: 179.4 kB / 0.7071 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.2051, allocations: 7.953 kB / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2051, allocations: 0 / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.2052, allocations: 11.98 kB / 0.7072 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.2052, allocations: 0 / 0.7072 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.2052, allocations: 0 / 0.7072 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.2053, allocations: 87.31 kB / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2053, allocations: 0 / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002122/0.2055, allocations: 4 kB / 0.7072 GB, free: 13.02 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.0006112/0.2061, allocations: 0.7085 MB / 0.7079 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.2064, allocations: 51.94 kB / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2064, allocations: 0 / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2065, allocations: 27.97 kB / 0.708 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2068, allocations: 5.969 kB / 0.708 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.2073, allocations: 159.3 kB / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2076, allocations: 0.6805 MB / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.2076, allocations: 0 / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.2076, allocations: 7.438 kB / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.2076, allocations: 4 kB / 0.7088 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.2314, allocations: 1.594 MB / 0.7104 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.3, allocations: 14.19 kB / 0.7104 GB, free: 9.828 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: 15.024172261008061] Failed to read output from testmodel.py, exit status != 0: 11.455830117920414 11.487368885 11.281100393 Calling exit ...