Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.001173/0.001173, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008914/0.0008914, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8938/0.8938, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7152/0.7152, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/3.017e-05, allocations: 2.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001713/0.001743, allocations: 0.5323 MB / 0.6185 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.00187, allocations: 19.91 kB / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.001895, allocations: 0 / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.00191, allocations: 0 / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.002056, allocations: 3.938 kB / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.868e-06/0.00206, allocations: 0 / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.002119, allocations: 7.938 kB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.002161, allocations: 3.984 kB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.002215, allocations: 7.984 kB / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.002251, allocations: 4 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.002268, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.002275, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.002285, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.002298, allocations: 3.938 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.08e-05/0.002349, allocations: 4 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.002354, allocations: 4 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.704e-06/0.002356, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.00236, allocations: 0 / 0.6186 GB, free: 13.17 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002293/0.00259, allocations: 238.4 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.002638, allocations: 17.47 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.002673, allocations: 30.75 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.002697, allocations: 0.9375 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.002779, allocations: 101.8 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.002794, allocations: 8.375 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.002802, allocations: 384 / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.002909, allocations: 47.91 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.002918, allocations: 192 / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.002927, allocations: 384 / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.002933, allocations: 4.125 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.002955, allocations: 8 kB / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.003076, allocations: 125.7 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.003124, allocations: 41.17 kB / 0.6192 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.003142, allocations: 13.72 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.003163, allocations: 0 / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.003181, allocations: 38.56 kB / 0.6192 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.003182, allocations: 0 / 0.6192 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.003319, allocations: 45.62 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.003353, allocations: 85.05 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.175e-05/0.003395, allocations: 94.11 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.003403, allocations: 25.7 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.00342, allocations: 80.14 kB / 0.6196 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.003445, allocations: 7.953 kB / 0.6196 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.003467, allocations: 17.66 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.003537, allocations: 314.8 kB / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.003547, allocations: 4 kB / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.003561, allocations: 17.66 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.003592, allocations: 17.91 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003594, allocations: 4 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.644e-05/0.003641, allocations: 41.62 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.003656, allocations: 8 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.003663, allocations: 0 / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.003678, allocations: 0 / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.003779, allocations: 7.938 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.003787, allocations: 0 / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.003799, allocations: 0 / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.003809, allocations: 4 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.45e-05/0.003883, allocations: 114.9 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-06/0.003888, allocations: 3.953 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.004026, allocations: 52.62 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.004028, allocations: 0 / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.004035, allocations: 3.938 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.004039, allocations: 3.984 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.613e-05/0.004126, allocations: 124.7 kB / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.004128, allocations: 4 kB / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.004149, allocations: 4 kB / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.004152, allocations: 4.062 kB / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.004161, allocations: 0 / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.004163, allocations: 3.938 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.004166, allocations: 7.938 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.004238, allocations: 65.98 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.004285, allocations: 4 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.004297, allocations: 0 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-06/0.004307, allocations: 3.984 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.004326, allocations: 11.94 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.004329, allocations: 0 / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.004356, allocations: 79.31 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004356, allocations: 3.938 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001273/0.004483, allocations: 4 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003606/0.004844, allocations: 0.5938 MB / 0.621 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.004938, allocations: 11.94 kB / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.004941, allocations: 0 / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.715e-06/0.004948, allocations: 12.19 kB / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.005067, allocations: 12.05 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.005373, allocations: 111.6 kB / 0.6212 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.005408, allocations: 59.34 kB / 0.6212 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.491e-05/0.005423, allocations: 0 / 0.6212 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.005447, allocations: 12.5 kB / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.005448, allocations: 0 / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.02088, allocations: 1.564 MB / 0.6228 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.08, allocations: 16.66 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.865866302512586] Failed to read output from testmodel.py, exit status != 0: 7.159378765150905 7.166852871 7.162911321 Calling exit ...