Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001178/0.001178, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001058/0.001058, allocations: 209.7 kB / 22.24 MB, free: 3.59 MB / 13.93 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 0.9379/0.9379, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7516/0.7516, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_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.001032/0.001032, allocations: 75.27 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4469, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001345/0.4482, allocations: 0.5955 MB / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.4485, allocations: 87.83 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.4485, allocations: 0 / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.4486, allocations: 0 / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.4486, allocations: 0.7969 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.4488, allocations: 21.59 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.4489, allocations: 10.05 kB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.449, allocations: 2.828 kB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.449, allocations: 7.469 kB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.4491, allocations: 1.125 kB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4491, allocations: 0 / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.4491, allocations: 15.64 kB / 0.8186 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.4492, allocations: 0.6094 kB / 0.8186 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.4492, allocations: 7.125 kB / 0.8186 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.4493, allocations: 24.67 kB / 0.8186 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4493, allocations: 4 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4493, allocations: 1.531 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4493, allocations: 0 / 0.8186 GB, free: 0.5859 MB / 0.6042 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.0003092/0.4496, allocations: 248.7 kB / 0.8188 GB, free: 332 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4497, allocations: 7 kB / 0.8188 GB, free: 332 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.4497, allocations: 33.28 kB / 0.8189 GB, free: 292 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.4498, allocations: 17.92 kB / 0.8189 GB, free: 284 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.285e-05/0.4499, allocations: 103.8 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4499, allocations: 2.094 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.4499, allocations: 4.219 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.45, allocations: 43.11 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.45, allocations: 4.688 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.45, allocations: 0 / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.45, allocations: 0 / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/0.4501, allocations: 16.55 kB / 0.8191 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.4502, allocations: 125.8 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.4504, allocations: 37.91 kB / 0.8192 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.4504, allocations: 19.17 kB / 0.8192 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4504, allocations: 0 / 0.8192 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4505, allocations: 36.59 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4505, allocations: 0 / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002186/0.4507, allocations: 67.77 kB / 0.8193 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.4507, allocations: 53.22 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.18e-05/0.4508, allocations: 89.86 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4508, allocations: 25.7 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.4508, allocations: 82.31 kB / 0.8196 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.4509, allocations: 9.422 kB / 0.8196 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.4509, allocations: 21.38 kB / 0.8196 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.451, allocations: 315.7 kB / 0.8199 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.451, allocations: 3.203 kB / 0.8199 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.4511, allocations: 5.812 kB / 0.8199 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.4511, allocations: 22.66 kB / 0.8199 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4511, allocations: 3.938 kB / 0.8199 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.664e-05/0.4512, allocations: 51.05 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4512, allocations: 5.281 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4512, allocations: 7.938 kB / 0.82 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4513, allocations: 3.234 kB / 0.82 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.4515, allocations: 43.89 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/0.4524, allocations: 1.3 MB / 0.8213 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.4524, allocations: 2.469 kB / 0.8213 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.4524, allocations: 1.906 kB / 0.8213 GB, free: 13.81 MB / 0.6198 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 5.897e-05/0.4525, allocations: 121.2 kB / 0.8214 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.4525, allocations: 3.953 kB / 0.8214 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.043e-05/0.4525, allocations: 8.141 kB / 0.8214 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.4525, allocations: 3.281 kB / 0.8214 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-07/0.4525, allocations: 0 / 0.8214 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4525, allocations: 1.125 kB / 0.8214 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.075e-05/0.4525, allocations: 121.4 kB / 0.8216 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4525, allocations: 3.938 kB / 0.8216 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.4527, allocations: 49.62 kB / 0.8216 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4527, allocations: 0.5156 kB / 0.8216 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.4527, allocations: 1.5 kB / 0.8216 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000859/0.4536, allocations: 1.312 MB / 0.8229 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4536, allocations: 3.594 kB / 0.8229 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.972e-05/0.4537, allocations: 68.45 kB / 0.823 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-06/0.4537, allocations: 5.344 kB / 0.823 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-06/0.4537, allocations: 7.203 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/0.4537, allocations: 0.7812 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.4537, allocations: 10.72 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.4537, allocations: 0.5625 kB / 0.823 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.4537, allocations: 78.95 kB / 0.8231 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4537, allocations: 0 / 0.8231 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001375/0.4539, allocations: 3.938 kB / 0.8231 GB, free: 12.03 MB / 0.6198 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.0003129/0.4542, allocations: 0.6048 MB / 0.8237 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.4545, allocations: 65.73 kB / 0.8237 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4545, allocations: 2.688 kB / 0.8237 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.4547, allocations: 35.75 kB / 0.8238 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.4548, allocations: 4.5 kB / 0.8238 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.4551, allocations: 119.1 kB / 0.8239 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.4552, allocations: 57.02 kB / 0.8239 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.4552, allocations: 3.297 kB / 0.8239 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.4552, allocations: 14.02 kB / 0.8239 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.4552, allocations: 0 / 0.8239 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.4701, allocations: 1.765 MB / 0.8257 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.282, allocations: 16.88 kB / 0.8257 GB, free: 10.34 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.150752720888704] Failed to read output from testmodel.py, exit status != 0: 8.365122742950916 8.377121392 7.925756679 Calling exit ...