Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0008389/0.0008389, 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.001099/0.001099, 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.8988/0.8988, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.727/0.727, allocations: 154.6 MB / 413.8 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.6182 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.804e-05, allocations: 9.234 kB / 0.6182 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.002349/0.002377, allocations: 0.8193 MB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.00368, allocations: 0.9133 MB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003781, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.003829, allocations: 15.8 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.003919, allocations: 19.81 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.004158, allocations: 59.91 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.004395, allocations: 151.6 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.00458, allocations: 45.64 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.004707, allocations: 71.81 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.004792, allocations: 47.86 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.004835, allocations: 12 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.004856, allocations: 16 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.004888, allocations: 27.91 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.004939, allocations: 35.89 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.005148, allocations: 159.4 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.005153, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.853e-06/0.005155, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.005162, allocations: 3.938 kB / 0.6205 GB, free: 11.13 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006005/0.005762, allocations: 361.8 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.005809, allocations: 12.03 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.005864, allocations: 50.73 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.005909, allocations: 16.84 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.006203, allocations: 157.5 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.006222, allocations: 12.36 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.006243, allocations: 12.38 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.006602, allocations: 223.3 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006612, allocations: 192 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.006632, allocations: 4.375 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.006641, allocations: 8.125 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.006924, allocations: 131.9 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/0.007662, allocations: 443.3 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.007856, allocations: 74.53 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.007959, allocations: 40.84 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.007987, allocations: 7.984 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.008018, allocations: 38.5 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.00802, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0004363/0.008456, allocations: 157.9 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.008493, allocations: 55.41 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.008681, allocations: 196.1 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.008698, allocations: 25.8 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.008777, allocations: 123.9 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.008801, allocations: 27.75 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.00886, allocations: 37.66 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.008978, allocations: 326.8 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.009121, allocations: 39.97 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.009196, allocations: 43.97 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.009343, allocations: 92.2 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009346, allocations: 0 / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002002/0.009546, allocations: 149.5 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.009561, allocations: 6.031 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.009567, allocations: 3.938 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.009582, allocations: 4 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.009689, allocations: 23.98 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.009695, allocations: 0 / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.009748, allocations: 27.83 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.009756, allocations: 0 / 0.6233 GB, free: 8.043 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 (13): * Single equations (assignments): 13 * 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.525e-05/0.009831, allocations: 122.8 kB / 0.6234 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.009852, allocations: 19.84 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.01014, allocations: 143 kB / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01015, allocations: 0 / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01015, allocations: 0 / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01015, allocations: 0 / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.01073, allocations: 408 kB / 0.624 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01073, allocations: 4.094 kB / 0.624 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.01084, allocations: 23.98 kB / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.01085, allocations: 0 / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01086, allocations: 4 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.01086, allocations: 4 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.01087, allocations: 7.938 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.01123, allocations: 241.9 kB / 0.6243 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.01126, allocations: 20.06 kB / 0.6243 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.01129, allocations: 8 kB / 0.6243 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.01144, allocations: 15.92 kB / 0.6243 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.0115, allocations: 7.984 kB / 0.6243 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.01151, allocations: 8 kB / 0.6243 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001287/0.01164, allocations: 153.9 kB / 0.6245 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01164, allocations: 0 / 0.6245 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00029/0.01193, allocations: 27.95 kB / 0.6245 GB, free: 6.754 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0005969/0.01253, allocations: 0.7623 MB / 0.6252 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.01282, allocations: 99.88 kB / 0.6253 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.01283, allocations: 0 / 0.6253 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01295, allocations: 43.91 kB / 0.6254 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.01331, allocations: 19.94 kB / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.01574, allocations: 1.901 MB / 0.6272 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.284e-05/0.01584, allocations: 94.78 kB / 0.6273 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.256e-05/0.01591, allocations: 21.06 kB / 0.6274 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.01601, allocations: 44.48 kB / 0.6274 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of SimCode: time 1.633e-06/0.01601, allocations: 0 / 0.6274 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.03746, allocations: 3.539 MB / 0.6309 GB, free: 248 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.884, allocations: 0 / 0.6309 GB, free: 248 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.660652216523886] Failed to read output from testmodel.py, exit status != 0: 6.9653768399730325 6.973547753 6.966550468 Calling exit ...