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.000709/0.000709, allocations: 72.45 kB / 19.91 MB, free: 12 kB / 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.0007147/0.0007147, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.822/0.822, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.678/0.678, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [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.0008546/0.0008546, allocations: 72.64 kB / 0.6196 GB, free: 13.07 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3825, allocations: 101.9 MB / 0.7192 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001333/0.3839, allocations: 0.8386 MB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.3845, allocations: 0.9057 MB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.3846, allocations: 10.12 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.3846, allocations: 11.72 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.3847, allocations: 7.875 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.3848, allocations: 70.64 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.385, allocations: 147.8 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3851, allocations: 42.25 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.3852, allocations: 74.16 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.3852, allocations: 58.55 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3853, allocations: 13.12 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.3853, allocations: 16.69 kB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.3853, allocations: 34.66 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.3853, allocations: 46.14 kB / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3855, allocations: 164.4 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3855, allocations: 0.9375 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3855, allocations: 0 / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.3855, allocations: 0.9062 kB / 0.7215 GB, free: 22.12 MB / 0.6355 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.0003721/0.3859, allocations: 367.1 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.3859, allocations: 12.91 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.3859, allocations: 16.88 kB / 0.7219 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3861, allocations: 160.8 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3861, allocations: 14.08 kB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3861, allocations: 12.78 kB / 0.7221 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.3863, allocations: 219.7 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3864, allocations: 192 / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3864, allocations: 11 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3864, allocations: 10.12 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3866, allocations: 128.4 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.387, allocations: 387.3 kB / 0.7228 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3871, allocations: 79.53 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.3872, allocations: 46.95 kB / 0.7229 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3872, allocations: 7.266 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3872, allocations: 41.44 kB / 0.723 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3872, allocations: 0 / 0.723 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002756/0.3875, allocations: 151.1 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.3875, allocations: 53.27 kB / 0.7232 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.3876, allocations: 147.8 kB / 0.7233 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.3876, allocations: 26.77 kB / 0.7233 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.3876, allocations: 128.2 kB / 0.7235 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.3876, allocations: 33.52 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3877, allocations: 29.61 kB / 0.7235 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.769e-05/0.3877, allocations: 319.6 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.3878, allocations: 42.11 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.3878, allocations: 41.86 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.388, allocations: 90.86 kB / 0.724 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.388, allocations: 0 / 0.724 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001751/0.3882, allocations: 154.6 kB / 0.7241 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3882, allocations: 5.5 kB / 0.7242 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3882, allocations: 0.9375 kB / 0.7242 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3882, allocations: 1.062 kB / 0.7242 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.3883, allocations: 24.67 kB / 0.7242 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3883, allocations: 0 / 0.7242 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.3883, allocations: 16.42 kB / 0.7242 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.3883, allocations: 6.219 kB / 0.7242 GB, free: 20.09 MB / 0.6355 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 4.699e-05/0.3884, allocations: 125.8 kB / 0.7243 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.3884, allocations: 12.55 kB / 0.7243 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.3886, allocations: 143 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3886, allocations: 1.156 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3886, allocations: 4.891 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3886, allocations: 0.9062 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3889, allocations: 382.2 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3889, allocations: 1.531 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.3889, allocations: 28.98 kB / 0.7249 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3889, allocations: 2.156 kB / 0.7249 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.389, allocations: 2.453 kB / 0.7249 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.389, allocations: 2.219 kB / 0.7249 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.389, allocations: 4.938 kB / 0.7249 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.3891, allocations: 242.1 kB / 0.7251 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.3891, allocations: 16.52 kB / 0.7251 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3891, allocations: 6.141 kB / 0.7251 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.3892, allocations: 15.23 kB / 0.7251 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3892, allocations: 11.7 kB / 0.7252 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3892, allocations: 7.406 kB / 0.7252 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.3893, allocations: 109.5 kB / 0.7253 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3893, allocations: 0 / 0.7253 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000161/0.3894, allocations: 22.62 kB / 0.7253 GB, free: 19.25 MB / 0.6355 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 7.153e-05/0.3895, allocations: 109.7 kB / 0.7254 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.3897, allocations: 93.38 kB / 0.7255 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3897, allocations: 0 / 0.7255 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.3898, allocations: 45 kB / 0.7255 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.39, allocations: 11.56 kB / 0.7255 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.3903, allocations: 280.7 kB / 0.7258 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.3903, allocations: 98.19 kB / 0.7259 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.3904, allocations: 16.34 kB / 0.7259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.3904, allocations: 0 / 0.7259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.002155/0.3925, allocations: 1.464 MB / 0.7273 GB, free: 18.66 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.084564861143008] Failed to read output from testmodel.py, exit status != 0: 0.3974190638400614 0.40497757700000003 0.017911493 Calling exit ...