Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007549/0.0007549, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008028/0.0008028, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9743/0.9743, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7634/0.7634, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 3.938 kB / 0.618 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.445e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002143/0.002168, allocations: 1.465 MB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.002456, allocations: 91.75 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.002496, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.002528, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.002577, allocations: 11.88 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.002817, allocations: 19.91 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.626e-05/0.002894, allocations: 23.92 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.003001, allocations: 4 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.003058, allocations: 11.98 kB / 0.6196 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.003097, allocations: 15.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003114, allocations: 4 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.003172, allocations: 19.98 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.003185, allocations: 0 / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003204, allocations: 8 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.003327, allocations: 39.81 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.00333, allocations: 0 / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003331, allocations: 0 / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.003336, allocations: 0 / 0.6197 GB, free: 11.93 MB / 0.5886 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.0003728/0.003708, allocations: 266.3 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.003753, allocations: 9.469 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.003787, allocations: 42.73 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.003901, allocations: 12.92 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.879e-05/0.00398, allocations: 113.7 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.004002, allocations: 384 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.004011, allocations: 4.375 kB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.004144, allocations: 58.22 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.00415, allocations: 192 / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.004159, allocations: 384 / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-06/0.004165, allocations: 4.125 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.004288, allocations: 55.89 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.004613, allocations: 220.1 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.004723, allocations: 50.53 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.004783, allocations: 32.84 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.004799, allocations: 0 / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.004823, allocations: 38.5 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004824, allocations: 4 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002856/0.00511, allocations: 101.6 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.005148, allocations: 55.39 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.005223, allocations: 105.9 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.005234, allocations: 29.7 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.005286, allocations: 88.12 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.005311, allocations: 8.078 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.005344, allocations: 13.72 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004312/0.005776, allocations: 318.8 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.005853, allocations: 23.97 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/0.005905, allocations: 19.98 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.00602, allocations: 64.8 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.006022, allocations: 0 / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001509/0.006173, allocations: 81.55 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.006191, allocations: 4 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.006199, allocations: 0 / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.006218, allocations: 0 / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.006309, allocations: 11.98 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.006316, allocations: 4.031 kB / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.006348, allocations: 11.98 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.006358, allocations: 4.25 kB / 0.6215 GB, free: 9.91 MB / 0.5886 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 7.009e-05/0.006428, allocations: 106.8 kB / 0.6216 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.006444, allocations: 7.938 kB / 0.6216 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.00648, allocations: 7.625 kB / 0.6216 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.006485, allocations: 3.984 kB / 0.6216 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.006492, allocations: 4 kB / 0.6216 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.006496, allocations: 3.984 kB / 0.6216 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.006616, allocations: 128.8 kB / 0.6217 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.006618, allocations: 4 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.006657, allocations: 15.92 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.006661, allocations: 3.938 kB / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.006668, allocations: 0 / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.00667, allocations: 0 / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006671, allocations: 0 / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.006845, allocations: 175.5 kB / 0.6219 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.006856, allocations: 11.97 kB / 0.6219 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.006868, allocations: 0 / 0.6219 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.006911, allocations: 7.984 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.006947, allocations: 4 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006951, allocations: 3.938 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.00698, allocations: 83.28 kB / 0.622 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00698, allocations: 0 / 0.622 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001477/0.007128, allocations: 4 kB / 0.622 GB, free: 9.273 MB / 0.5886 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.0004084/0.007536, allocations: 0.7124 MB / 0.6227 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.00771, allocations: 55.88 kB / 0.6228 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007712, allocations: 0 / 0.6228 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.007771, allocations: 31.91 kB / 0.6228 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.008061, allocations: 6.188 kB / 0.6228 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.008482, allocations: 149.5 kB / 0.623 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.945e-05/0.008532, allocations: 59.34 kB / 0.623 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.008561, allocations: 4 kB / 0.623 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.008604, allocations: 12.5 kB / 0.623 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of SimCode: time 5.82e-07/0.008605, allocations: 0 / 0.623 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.02927, allocations: 2.189 MB / 0.6252 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.929, allocations: 0.875 kB / 0.6252 GB, free: 6.121 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.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_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.908554984256625] Failed to read output from testmodel.py, exit status != 0: 7.012016884051263 7.023417477 7.0171476 Calling exit ...