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.001298/0.001298, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001529/0.001529, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8842/0.8842, allocations: 133.9 MB / 443.5 MB, free: 13.87 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.002134/0.002134, allocations: 69.14 kB / 0.6141 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1691, allocations: 85.87 MB / 0.698 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002024/0.1712, allocations: 0.5806 MB / 0.6986 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.1715, allocations: 94.09 kB / 0.6987 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.1715, allocations: 0 / 0.6987 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.1716, allocations: 0 / 0.6987 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.1716, allocations: 3.938 kB / 0.6987 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1719, allocations: 13.55 kB / 0.6987 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.1719, allocations: 3.656 kB / 0.6987 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.172, allocations: 9.562 kB / 0.6987 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.172, allocations: 4.906 kB / 0.6987 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.1721, allocations: 11.94 kB / 0.6987 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1721, allocations: 0 / 0.6987 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.1722, allocations: 11.98 kB / 0.6987 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.1722, allocations: 4 kB / 0.6987 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1722, allocations: 1.375 kB / 0.6987 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1723, allocations: 13.47 kB / 0.6987 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1723, allocations: 3.938 kB / 0.6987 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1723, allocations: 1.375 kB / 0.6987 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1723, allocations: 3.938 kB / 0.6987 GB, free: 13.25 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.0004445/0.1728, allocations: 327.1 kB / 0.699 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1728, allocations: 11.3 kB / 0.6991 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.1728, allocations: 5.5 kB / 0.6991 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.1729, allocations: 30.75 kB / 0.6991 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.173, allocations: 10.42 kB / 0.6991 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1731, allocations: 164.4 kB / 0.6993 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1732, allocations: 5.75 kB / 0.6993 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1732, allocations: 1.75 kB / 0.6993 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1733, allocations: 43.5 kB / 0.6993 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1733, allocations: 0 / 0.6993 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1733, allocations: 0 / 0.6993 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1733, allocations: 0 / 0.6993 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.551e-05/0.1734, allocations: 20.17 kB / 0.6993 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.1736, allocations: 160.4 kB / 0.6995 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1738, allocations: 40.31 kB / 0.6995 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1739, allocations: 12.97 kB / 0.6995 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1739, allocations: 0 / 0.6995 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.1739, allocations: 39.88 kB / 0.6996 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1739, allocations: 0 / 0.6996 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000241/0.1742, allocations: 56.88 kB / 0.6996 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1742, allocations: 52.78 kB / 0.6997 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.1743, allocations: 93.86 kB / 0.6998 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1743, allocations: 25.7 kB / 0.6998 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.1743, allocations: 81.52 kB / 0.6999 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1743, allocations: 9.328 kB / 0.6999 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1744, allocations: 12.47 kB / 0.6999 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1745, allocations: 314.8 kB / 0.7002 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.1746, allocations: 8.125 kB / 0.7002 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.1746, allocations: 16.14 kB / 0.7002 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.728e-05/0.1747, allocations: 17.11 kB / 0.7002 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1747, allocations: 1.375 kB / 0.7002 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001263/0.1748, allocations: 53.98 kB / 0.7003 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1748, allocations: 9.438 kB / 0.7003 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1748, allocations: 0 / 0.7003 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1749, allocations: 3.938 kB / 0.7003 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.1753, allocations: 44.69 kB / 0.7003 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.1767, allocations: 1.404 MB / 0.7017 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.1767, allocations: 8.078 kB / 0.7017 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1767, allocations: 1.375 kB / 0.7017 GB, free: 10.03 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 (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 0.0001031/0.1768, allocations: 115.8 kB / 0.7018 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.1769, allocations: 5.375 kB / 0.7018 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.1769, allocations: 3.5 kB / 0.7018 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1769, allocations: 1.375 kB / 0.7018 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1769, allocations: 0 / 0.7018 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1769, allocations: 5.312 kB / 0.7018 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.177, allocations: 156.4 kB / 0.702 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.177, allocations: 4 kB / 0.702 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.1774, allocations: 43.44 kB / 0.702 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1774, allocations: 0 / 0.702 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1774, allocations: 1.375 kB / 0.702 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.1787, allocations: 1.419 MB / 0.7034 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1787, allocations: 3.984 kB / 0.7034 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.1789, allocations: 75.67 kB / 0.7035 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.1789, allocations: 85.14 kB / 0.7036 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.1789, allocations: 5.438 kB / 0.7036 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.179, allocations: 1.469 kB / 0.7036 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.179, allocations: 4.922 kB / 0.7036 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.179, allocations: 1 kB / 0.7036 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.179, allocations: 75.28 kB / 0.7037 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.179, allocations: 0 / 0.7037 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002009/0.1792, allocations: 3.094 kB / 0.7037 GB, free: 7.91 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 (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.0004787/0.1797, allocations: 0.6116 MB / 0.7043 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.1802, allocations: 64.86 kB / 0.7043 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1802, allocations: 0 / 0.7043 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.1805, allocations: 34.27 kB / 0.7044 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1806, allocations: 1.281 kB / 0.7044 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.1811, allocations: 137.7 kB / 0.7045 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1814, allocations: 0.6723 MB / 0.7051 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.009e-05/0.1814, allocations: 2.219 kB / 0.7051 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1815, allocations: 12.53 kB / 0.7052 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1815, allocations: 0 / 0.7052 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.2011, allocations: 1.324 MB / 0.7065 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.94, allocations: 10.34 kB / 0.7065 GB, free: 5.68 MB / 0.5137 GB " [Timeout remaining time 648] (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: 15.866779232979752] Failed to read output from testmodel.py, exit status != 0: 12.413271018012892 12.121742448000001 11.944551047 Calling exit ...