Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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: 76.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.0008325/0.0008325, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8268/0.8268, allocations: 177.2 MB / 203.6 MB, free: 5.793 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.6837/0.6837, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [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.0008648/0.0008648, allocations: 64.72 kB / 0.6196 GB, free: 11.99 MB / 0.5417 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.3873/0.3881, allocations: 102 MB / 0.7192 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001237/0.3894, allocations: 0.6461 MB / 0.7198 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.3895, allocations: 7.938 kB / 0.7198 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.3895, allocations: 0 / 0.7198 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.3896, allocations: 3.938 kB / 0.7198 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.3897, allocations: 4 kB / 0.7198 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.812e-05/0.3897, allocations: 10.94 kB / 0.7198 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.3898, allocations: 27.86 kB / 0.7199 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3899, allocations: 23.98 kB / 0.7199 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.39, allocations: 19.92 kB / 0.7199 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.037e-05/0.39, allocations: 23.92 kB / 0.7199 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.39, allocations: 4 kB / 0.7199 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.39, allocations: 0 / 0.7199 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.3901, allocations: 7.984 kB / 0.7199 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.3901, allocations: 19.88 kB / 0.72 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.507e-05/0.3902, allocations: 50.05 kB / 0.72 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3902, allocations: 0 / 0.72 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3902, allocations: 0 / 0.72 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.3902, allocations: 0 / 0.72 GB, free: 12.86 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002556/0.3904, allocations: 278.2 kB / 0.7203 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3905, allocations: 12.03 kB / 0.7203 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3905, allocations: 12.89 kB / 0.7203 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3906, allocations: 122.5 kB / 0.7204 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.3906, allocations: 384 / 0.7204 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3906, allocations: 8.375 kB / 0.7204 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.3908, allocations: 78.16 kB / 0.7205 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3908, allocations: 192 / 0.7205 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3908, allocations: 7.938 kB / 0.7205 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3908, allocations: 3.938 kB / 0.7205 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.3908, allocations: 47.97 kB / 0.7205 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3912, allocations: 414.8 kB / 0.7209 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.3912, allocations: 169.1 kB / 0.7211 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.3913, allocations: 92.06 kB / 0.7212 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3913, allocations: 79.28 kB / 0.7213 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3913, allocations: 105.8 kB / 0.7214 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.3913, allocations: 0 / 0.7214 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.594e-05/0.3914, allocations: 33.73 kB / 0.7214 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3914, allocations: 126.7 kB / 0.7215 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3915, allocations: 121.8 kB / 0.7216 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.3916, allocations: 25.7 kB / 0.7217 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.3916, allocations: 99.98 kB / 0.7218 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.3916, allocations: 0 / 0.7218 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.3916, allocations: 25.7 kB / 0.7218 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.3917, allocations: 314.8 kB / 0.7221 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.3917, allocations: 11.92 kB / 0.7221 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.3917, allocations: 12 kB / 0.7221 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.3918, allocations: 12.95 kB / 0.7221 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3918, allocations: 3.938 kB / 0.7221 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.03e-05/0.3918, allocations: 45.69 kB / 0.7222 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3919, allocations: 8 kB / 0.7222 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3919, allocations: 3.984 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3919, allocations: 4.094 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.3919, allocations: 0 / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.392, allocations: 4 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.392, allocations: 11.88 kB / 0.7222 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.392, allocations: 4 kB / 0.7222 GB, free: 10.43 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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.226e-05/0.3921, allocations: 194 kB / 0.7224 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.3921, allocations: 109 kB / 0.7225 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.3921, allocations: 112.2 kB / 0.7226 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/0.3922, allocations: 184.2 kB / 0.7228 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.646e-05/0.3922, allocations: 176.3 kB / 0.7229 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-05/0.3923, allocations: 192.1 kB / 0.7231 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.3924, allocations: 368.9 kB / 0.7235 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/0.3924, allocations: 105 kB / 0.7236 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.3925, allocations: 104.9 kB / 0.7237 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.906e-05/0.3925, allocations: 180.3 kB / 0.7238 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.3925, allocations: 185.4 kB / 0.724 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.723e-05/0.3926, allocations: 176.3 kB / 0.7242 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.689e-05/0.3926, allocations: 180.3 kB / 0.7244 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.3927, allocations: 311.7 kB / 0.7247 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.3927, allocations: 120.8 kB / 0.7248 GB, free: 7.629 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.3928, allocations: 176.3 kB / 0.7249 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.3928, allocations: 113 kB / 0.7251 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3929, allocations: 180.2 kB / 0.7252 GB, free: 7.148 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3929, allocations: 101.3 kB / 0.7253 GB, free: 7.043 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.3929, allocations: 99.25 kB / 0.7254 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.3929, allocations: 0 / 0.7254 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001457/0.3931, allocations: 11.94 kB / 0.7254 GB, free: 6.934 MB / 0.6042 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 (0): * Single equations (assignments): 0 * 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 9.49e-05/0.3932, allocations: 170.5 kB / 0.7256 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.676e-05/0.3932, allocations: 11.92 kB / 0.7256 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3932, allocations: 64 / 0.7256 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.3932, allocations: 8 kB / 0.7256 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3935, allocations: 459.6 kB / 0.726 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.3937, allocations: 233.8 kB / 0.7263 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.3938, allocations: 79.31 kB / 0.7263 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.3938, allocations: 8.5 kB / 0.7264 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.3938, allocations: 0 / 0.7264 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of Templates: time 0.001323/0.3951, allocations: 0.6483 MB / 0.727 GB, free: 5.27 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.379325052956119] Failed to read output from testmodel.py, exit status != 0: 0.40002481802366674 0.407850588 0.016130134 Calling exit ...