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.001239/0.001239, allocations: 118.1 kB / 17.17 MB, free: 5.902 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.001386/0.001386, allocations: 206.2 kB / 20.13 MB, free: 2.965 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9271/0.9271, allocations: 133.9 MB / 443.5 MB, free: 13.79 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.002053/0.002053, allocations: 66.52 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1943, allocations: 85.85 MB / 0.6979 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002965/0.1972, allocations: 1.453 MB / 0.6994 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.1976, allocations: 103.9 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.1976, allocations: 1.781 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.1976, allocations: 3.938 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.1977, allocations: 7.938 kB / 0.6995 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1979, allocations: 13.42 kB / 0.6995 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.198, allocations: 29.05 kB / 0.6995 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1981, allocations: 3.5 kB / 0.6995 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.1982, allocations: 11.67 kB / 0.6995 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.1982, allocations: 11.47 kB / 0.6995 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1982, allocations: 1.812 kB / 0.6995 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.1983, allocations: 16.92 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.1983, allocations: 7.969 kB / 0.6996 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.1984, allocations: 11.53 kB / 0.6996 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1985, allocations: 32.84 kB / 0.6996 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1985, allocations: 3.984 kB / 0.6996 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1985, allocations: 0 / 0.6996 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1985, allocations: 0 / 0.6996 GB, free: 12.35 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.0005691/0.1991, allocations: 348.8 kB / 0.6999 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1991, allocations: 11.3 kB / 0.7 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.228e-05/0.1992, allocations: 192 / 0.7 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.1992, allocations: 31.88 kB / 0.7 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.1994, allocations: 16.61 kB / 0.7 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1995, allocations: 165.5 kB / 0.7002 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1995, allocations: 5.688 kB / 0.7002 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1996, allocations: 5.734 kB / 0.7002 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.1998, allocations: 65.03 kB / 0.7002 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1998, allocations: 0 / 0.7002 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1998, allocations: 0 / 0.7002 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1998, allocations: 1.375 kB / 0.7002 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.2, allocations: 50.08 kB / 0.7003 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.2005, allocations: 266.6 kB / 0.7005 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2007, allocations: 55.11 kB / 0.7006 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2008, allocations: 34.58 kB / 0.7006 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2008, allocations: 0 / 0.7006 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.2008, allocations: 31.94 kB / 0.7007 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2008, allocations: 3.938 kB / 0.7007 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004839/0.2013, allocations: 104.3 kB / 0.7008 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.2014, allocations: 55.34 kB / 0.7008 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2015, allocations: 114.1 kB / 0.7009 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.2015, allocations: 25.7 kB / 0.7009 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.2016, allocations: 81.52 kB / 0.701 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2016, allocations: 13.27 kB / 0.701 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.2017, allocations: 11.09 kB / 0.701 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2018, allocations: 316.2 kB / 0.7013 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2019, allocations: 25.77 kB / 0.7014 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.202, allocations: 25.72 kB / 0.7014 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.2022, allocations: 54.88 kB / 0.7014 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2022, allocations: 0 / 0.7014 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002637/0.2025, allocations: 83.95 kB / 0.7015 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2025, allocations: 9.438 kB / 0.7015 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2025, allocations: 0 / 0.7015 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2025, allocations: 0 / 0.7015 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2026, allocations: 12.23 kB / 0.7015 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2027, allocations: 0 / 0.7015 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.2027, allocations: 13.44 kB / 0.7016 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2027, allocations: 4.031 kB / 0.7016 GB, free: 10.4 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 9.175e-05/0.2028, allocations: 113.2 kB / 0.7017 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.2028, allocations: 1.375 kB / 0.7017 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.2029, allocations: 7.531 kB / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2029, allocations: 1.375 kB / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2029, allocations: 0 / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2029, allocations: 5.312 kB / 0.7017 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2031, allocations: 163.1 kB / 0.7018 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2031, allocations: 1.375 kB / 0.7018 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.2032, allocations: 14.86 kB / 0.7019 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2032, allocations: 0 / 0.7019 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2032, allocations: 5.359 kB / 0.7019 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2032, allocations: 0 / 0.7019 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2032, allocations: 0 / 0.7019 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.2035, allocations: 183 kB / 0.702 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2036, allocations: 82.44 kB / 0.7021 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2036, allocations: 5.359 kB / 0.7021 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.2037, allocations: 4.125 kB / 0.7021 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.2037, allocations: 5.609 kB / 0.7021 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2037, allocations: 1.375 kB / 0.7021 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.2038, allocations: 87.41 kB / 0.7022 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2038, allocations: 0 / 0.7022 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002227/0.204, allocations: 9.438 kB / 0.7022 GB, free: 9.691 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.0006407/0.2046, allocations: 0.7071 MB / 0.7029 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.2049, allocations: 61.03 kB / 0.703 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2049, allocations: 0 / 0.703 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.205, allocations: 19.8 kB / 0.703 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2053, allocations: 6.656 kB / 0.703 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.2059, allocations: 153.4 kB / 0.7031 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2063, allocations: 0.6818 MB / 0.7038 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.2064, allocations: 0.75 kB / 0.7038 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.2064, allocations: 12.59 kB / 0.7038 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.2064, allocations: 0 / 0.7038 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.2246, allocations: 1.503 MB / 0.7053 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.338, allocations: 17.45 kB / 0.7053 GB, free: 7.105 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.248570889991242] Failed to read output from testmodel.py, exit status != 0: 8.765353037044406 8.494147012 8.290897411 Calling exit ...