Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.001787/0.001787, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001883/0.001883, allocations: 165.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.182/1.182, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.6186 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.033e-05, allocations: 6.219 kB / 0.6187 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001687/0.001718, allocations: 0.6502 MB / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.002865, allocations: 0.8354 MB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.002896, allocations: 3.938 kB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002922, allocations: 0 / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.002977, allocations: 11.88 kB / 0.6201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.003151, allocations: 6.375 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.003231, allocations: 31.91 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.003318, allocations: 0 / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.003385, allocations: 15.98 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.003421, allocations: 7.984 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.003438, allocations: 7.938 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.885e-05/0.003477, allocations: 4.75 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.003491, allocations: 4 kB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.003508, allocations: 1.75 kB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003611, allocations: 35.88 kB / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003614, allocations: 0 / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003614, allocations: 0 / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.003622, allocations: 0 / 0.6202 GB, free: 2.867 MB / 0.5294 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.0004507/0.004073, allocations: 267.1 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004111, allocations: 15.97 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.004198, allocations: 12.83 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.004325, allocations: 101.8 kB / 0.6206 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.004336, allocations: 4.359 kB / 0.6206 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.004351, allocations: 4.375 kB / 0.6206 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.004541, allocations: 46.25 kB / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004549, allocations: 192 / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.004557, allocations: 384 / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004564, allocations: 4.359 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.004739, allocations: 39.91 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.005052, allocations: 192.5 kB / 0.6209 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.005187, allocations: 38.59 kB / 0.6209 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.005279, allocations: 20.91 kB / 0.6209 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.005295, allocations: 0 / 0.6209 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.00532, allocations: 34.56 kB / 0.621 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005321, allocations: 0 / 0.621 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003751/0.005696, allocations: 89.52 kB / 0.6211 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.005738, allocations: 55.41 kB / 0.6211 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.005824, allocations: 97.84 kB / 0.6212 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.005843, allocations: 25.7 kB / 0.6212 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.005896, allocations: 88.08 kB / 0.6213 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.005915, allocations: 7.953 kB / 0.6213 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.005947, allocations: 9.719 kB / 0.6213 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.006095, allocations: 322.8 kB / 0.6216 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.00618, allocations: 16.11 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-05/0.006273, allocations: 19.92 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.006442, allocations: 36.83 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006444, allocations: 0 / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002103/0.006654, allocations: 73.61 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.006667, allocations: 8.031 kB / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.006674, allocations: 3.938 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.006693, allocations: 0 / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.006784, allocations: 11.98 kB / 0.6218 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.006791, allocations: 3.984 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.006842, allocations: 7.984 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006847, allocations: 0 / 0.6218 GB, free: 1.066 MB / 0.5294 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 8.5e-05/0.006932, allocations: 115.7 kB / 0.6219 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.006955, allocations: 3.938 kB / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.007191, allocations: 72.91 kB / 0.622 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.007197, allocations: 7.938 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.007201, allocations: 0 / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007204, allocations: 192 / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.007391, allocations: 105.3 kB / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007392, allocations: 0 / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.007452, allocations: 7.984 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.007459, allocations: 7.984 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.007466, allocations: 4.031 kB / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.007471, allocations: 7.938 kB / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007472, allocations: 0 / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.007727, allocations: 159.5 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.007738, allocations: 3.953 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.007751, allocations: 4 kB / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.007835, allocations: 11.92 kB / 0.6223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.007873, allocations: 0 / 0.6223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.007876, allocations: 4.031 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.007921, allocations: 79.28 kB / 0.6224 GB, free: 432 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.007921, allocations: 3.938 kB / 0.6224 GB, free: 428 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002221/0.008143, allocations: 8 kB / 0.6224 GB, free: 420 kB / 0.5294 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.0001378/0.008281, allocations: 99.23 kB / 0.6225 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.008496, allocations: 31.97 kB / 0.6225 GB, free: 276 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008498, allocations: 0 / 0.6225 GB, free: 276 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.008588, allocations: 24.03 kB / 0.6225 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.008896, allocations: 8 kB / 0.6225 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.009217, allocations: 100.8 kB / 0.6226 GB, free: 116 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.009286, allocations: 63.3 kB / 0.6227 GB, free: 32 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.009308, allocations: 7.922 kB / 0.6227 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.009337, allocations: 8.5 kB / 0.6227 GB, free: 16 kB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.009337, allocations: 0 / 0.6227 GB, free: 16 kB / 0.5294 GB Notification: Performance of Templates: time 0.002906/0.01224, allocations: 475.8 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7631346099078655] Failed to read output from testmodel.py, exit status != 0: 0.02087980881333351 0.03595578 0.029226789000000003 Calling exit ...