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.00172/0.00172, allocations: 103.6 kB / 18.94 MB, free: 2.688 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.002182/0.002182, allocations: 217.3 kB / 22.24 MB, free: 5.25 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.805 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.8444/0.8444, allocations: 134 MB / 446.4 MB, free: 9.91 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001992/0.001992, allocations: 65.09 kB / 0.6185 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 85.92 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001827/0.17, allocations: 0.5782 MB / 0.703 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.1703, allocations: 88.17 kB / 0.7031 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.1703, allocations: 7.938 kB / 0.7031 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.1704, allocations: 0 / 0.7031 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.1704, allocations: 7.922 kB / 0.7031 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1706, allocations: 11.98 kB / 0.7031 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.1707, allocations: 7.984 kB / 0.7031 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.1707, allocations: 4 kB / 0.7031 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.1707, allocations: 0 / 0.7031 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.1708, allocations: 4 kB / 0.7031 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1708, allocations: 0 / 0.7031 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.1709, allocations: 15.98 kB / 0.7031 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.1709, allocations: 7.984 kB / 0.7031 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1709, allocations: 7.875 kB / 0.7031 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.04e-05/0.171, allocations: 16.2 kB / 0.7032 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.171, allocations: 4 kB / 0.7032 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.171, allocations: 0 / 0.7032 GB, free: 284 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.171, allocations: 0 / 0.7032 GB, free: 284 kB / 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.0003281/0.1713, allocations: 238.5 kB / 0.7034 GB, free: 12 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1714, allocations: 12.03 kB / 0.7034 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.1714, allocations: 30.75 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1716, allocations: 16.88 kB / 0.7034 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.1716, allocations: 114.5 kB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1717, allocations: 4.312 kB / 0.7036 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1717, allocations: 4.359 kB / 0.7036 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1718, allocations: 38.25 kB / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1718, allocations: 7.938 kB / 0.7036 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.1718, allocations: 0 / 0.7036 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1718, allocations: 0 / 0.7036 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.1719, allocations: 19.92 kB / 0.7036 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.172, allocations: 112.8 kB / 0.7037 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1722, allocations: 50.59 kB / 0.7038 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.1723, allocations: 8.922 kB / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1723, allocations: 7.922 kB / 0.7038 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1723, allocations: 34.56 kB / 0.7038 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1723, allocations: 0 / 0.7038 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000202/0.1725, allocations: 57.56 kB / 0.7039 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1725, allocations: 59.39 kB / 0.7039 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.1726, allocations: 89.86 kB / 0.704 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1726, allocations: 29.7 kB / 0.7041 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.1726, allocations: 80.14 kB / 0.7041 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1727, allocations: 3.953 kB / 0.7041 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.1727, allocations: 17.72 kB / 0.7042 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1729, allocations: 310.8 kB / 0.7045 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.1729, allocations: 7.984 kB / 0.7045 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.1729, allocations: 8 kB / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.173, allocations: 24.84 kB / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.173, allocations: 0 / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001098/0.1731, allocations: 57.61 kB / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1731, allocations: 4 kB / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1731, allocations: 3.938 kB / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1731, allocations: 0 / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.1735, allocations: 39.94 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.1749, allocations: 1.309 MB / 0.7059 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.1749, allocations: 4.156 kB / 0.7059 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.175, allocations: 4.031 kB / 0.7059 GB, free: 13.19 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 (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 8.867e-05/0.175, allocations: 109.8 kB / 0.706 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1751, allocations: 3.953 kB / 0.706 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.1751, allocations: 7.531 kB / 0.706 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1751, allocations: 4 kB / 0.706 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1751, allocations: 0 / 0.706 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1751, allocations: 0 / 0.706 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1752, allocations: 128.7 kB / 0.7061 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1752, allocations: 0 / 0.7061 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.1755, allocations: 51.92 kB / 0.7062 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1755, allocations: 3.938 kB / 0.7062 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1755, allocations: 4 kB / 0.7062 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.1768, allocations: 1.305 MB / 0.7075 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1768, allocations: 0 / 0.7075 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1769, allocations: 77.02 kB / 0.7075 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.1769, allocations: 8.156 kB / 0.7075 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-06/0.1769, allocations: 3.938 kB / 0.7075 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.821e-05/0.1769, allocations: 4 kB / 0.7075 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.177, allocations: 11.98 kB / 0.7076 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.177, allocations: 0 / 0.7076 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.177, allocations: 75.28 kB / 0.7076 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 0 / 0.7076 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001897/0.1772, allocations: 4 kB / 0.7076 GB, free: 11.21 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 (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.0004695/0.1777, allocations: 0.6125 MB / 0.7082 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.1781, allocations: 59.86 kB / 0.7083 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1781, allocations: 0 / 0.7083 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.1783, allocations: 39.95 kB / 0.7083 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1785, allocations: 2.297 kB / 0.7083 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.1789, allocations: 118.6 kB / 0.7084 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.179, allocations: 59.34 kB / 0.7085 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.179, allocations: 0 / 0.7085 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.1791, allocations: 15.44 kB / 0.7085 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1791, allocations: 4 kB / 0.7085 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.2073, allocations: 1.758 MB / 0.7102 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.59, allocations: 6.594 kB / 0.7102 GB, free: 8.59 MB / 0.5294 GB " [Timeout remaining time 647] (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: 16.141122091095895] Failed to read output from testmodel.py, exit status != 0: 12.700291690882295 12.715554265 12.541591183 Calling exit ...