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.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.001272/0.001272, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001278/0.001278, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.9032/0.9032, allocations: 134 MB / 436.6 MB, free: 13.65 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.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.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: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 75.88 kB / 0.6052 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4395, allocations: 84.67 MB / 0.6878 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001702/0.4412, allocations: 0.5907 MB / 0.6884 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.4415, allocations: 96.61 kB / 0.6885 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.4415, allocations: 0 / 0.6885 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.4415, allocations: 3.938 kB / 0.6885 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.4415, allocations: 1 kB / 0.6885 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.4418, allocations: 13.89 kB / 0.6885 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.4418, allocations: 3.812 kB / 0.6885 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.4418, allocations: 5.453 kB / 0.6885 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.4419, allocations: 2.469 kB / 0.6885 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.4419, allocations: 13.14 kB / 0.6886 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.442, allocations: 4.906 kB / 0.6886 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.442, allocations: 11.23 kB / 0.6886 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.442, allocations: 8.781 kB / 0.6886 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.442, allocations: 1.125 kB / 0.6886 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.4421, allocations: 12.92 kB / 0.6886 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4421, allocations: 0.9688 kB / 0.6886 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4421, allocations: 0 / 0.6886 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4421, allocations: 0 / 0.6886 GB, free: 1.223 MB / 0.4981 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.0002933/0.4424, allocations: 321.2 kB / 0.6889 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4425, allocations: 13 kB / 0.6889 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.4425, allocations: 32 kB / 0.6889 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.4426, allocations: 10.3 kB / 0.6889 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.4427, allocations: 164.4 kB / 0.6891 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4427, allocations: 384 / 0.6891 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.4427, allocations: 6.719 kB / 0.6891 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4428, allocations: 39.19 kB / 0.6891 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4429, allocations: 3.938 kB / 0.6892 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.4429, allocations: 0 / 0.6892 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.4429, allocations: 5.312 kB / 0.6892 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.4429, allocations: 22.47 kB / 0.6892 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.443, allocations: 152.4 kB / 0.6893 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.4432, allocations: 37.16 kB / 0.6894 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.4432, allocations: 13 kB / 0.6894 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4433, allocations: 7.984 kB / 0.6894 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.4433, allocations: 31.72 kB / 0.6894 GB, free: 276 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4433, allocations: 0 / 0.6894 GB, free: 276 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001965/0.4435, allocations: 65.27 kB / 0.6895 GB, free: 220 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.4435, allocations: 52.97 kB / 0.6895 GB, free: 156 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.653e-05/0.4435, allocations: 89.86 kB / 0.6896 GB, free: 56 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.4435, allocations: 25.7 kB / 0.6896 GB, free: 24 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.4436, allocations: 84.14 kB / 0.6897 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.4436, allocations: 13.19 kB / 0.6897 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.4436, allocations: 16.75 kB / 0.6897 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4438, allocations: 316.2 kB / 0.69 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.4438, allocations: 3.062 kB / 0.69 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.4439, allocations: 12.8 kB / 0.6901 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.4439, allocations: 21.05 kB / 0.6901 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4439, allocations: 4 kB / 0.6901 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001139/0.4441, allocations: 51.02 kB / 0.6901 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4441, allocations: 5.219 kB / 0.6901 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4441, allocations: 3.938 kB / 0.6901 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4441, allocations: 4 kB / 0.6901 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.4445, allocations: 40.34 kB / 0.6902 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.446, allocations: 1.404 MB / 0.6916 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.446, allocations: 1.344 kB / 0.6916 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.446, allocations: 1.453 kB / 0.6916 GB, free: 14.01 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 9.43e-05/0.4461, allocations: 123 kB / 0.6917 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.4461, allocations: 5.078 kB / 0.6917 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.4461, allocations: 8.688 kB / 0.6917 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4461, allocations: 3.984 kB / 0.6917 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4462, allocations: 1.188 kB / 0.6917 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4462, allocations: 3.938 kB / 0.6917 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.4463, allocations: 156.8 kB / 0.6918 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4463, allocations: 0 / 0.6918 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.4466, allocations: 48.72 kB / 0.6919 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4466, allocations: 0 / 0.6919 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.4466, allocations: 0 / 0.6919 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.448, allocations: 1.408 MB / 0.6933 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.448, allocations: 5.25 kB / 0.6933 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.4482, allocations: 73.67 kB / 0.6933 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.4482, allocations: 82.12 kB / 0.6934 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.4482, allocations: 5.344 kB / 0.6934 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.4483, allocations: 4.969 kB / 0.6934 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.4483, allocations: 9.172 kB / 0.6934 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.4483, allocations: 1.031 kB / 0.6934 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.4483, allocations: 75.28 kB / 0.6935 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4483, allocations: 0 / 0.6935 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000197/0.4485, allocations: 4.406 kB / 0.6935 GB, free: 11.89 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.0005285/0.4491, allocations: 0.6149 MB / 0.6941 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.4495, allocations: 55.67 kB / 0.6942 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4495, allocations: 1 kB / 0.6942 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.4497, allocations: 38.45 kB / 0.6942 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.4499, allocations: 1.062 kB / 0.6942 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.4504, allocations: 127.9 kB / 0.6943 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4508, allocations: 0.6766 MB / 0.695 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.4508, allocations: 9.609 kB / 0.695 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.4509, allocations: 18.25 kB / 0.695 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.4509, allocations: 0 / 0.695 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.4783, allocations: 1.286 MB / 0.6963 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.04, allocations: 2.359 kB / 0.6963 GB, free: 9.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.526942867320031] Failed to read output from testmodel.py, exit status != 0: 12.130865789949894 12.152635975 11.706411387 Calling exit ...