Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.001103/0.001103, allocations: 80.45 kB / 19.9 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.00143/0.00143, 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.9039/0.9039, allocations: 177.2 MB / 203.6 MB, free: 5.758 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.759/0.759, allocations: 154.9 MB / 414.9 MB, free: 500 kB / 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain") [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.001008/0.001008, allocations: 70.86 kB / 0.6199 GB, free: 12.56 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4952, allocations: 102 MB / 0.7195 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001559/0.4967, allocations: 0.7534 MB / 0.7202 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.4976, allocations: 0.854 MB / 0.7211 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.4977, allocations: 1.125 kB / 0.7211 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.4979, allocations: 53.11 kB / 0.7211 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.498, allocations: 38.17 kB / 0.7211 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 9.873e-05/0.4981, allocations: 18.67 kB / 0.7212 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.4982, allocations: 92.94 kB / 0.7213 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.4983, allocations: 20.59 kB / 0.7213 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.4984, allocations: 57.88 kB / 0.7213 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4986, allocations: 87.48 kB / 0.7214 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.4986, allocations: 8.062 kB / 0.7214 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.4986, allocations: 7.188 kB / 0.7214 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.4987, allocations: 36.61 kB / 0.7215 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.4988, allocations: 37.52 kB / 0.7215 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.4989, allocations: 120.5 kB / 0.7216 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4989, allocations: 5.375 kB / 0.7216 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4989, allocations: 0.7969 kB / 0.7216 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.499, allocations: 0 / 0.7216 GB, free: 22.23 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005836/0.4995, allocations: 384.3 kB / 0.722 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4996, allocations: 12.19 kB / 0.722 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.4996, allocations: 18.28 kB / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.4998, allocations: 146.3 kB / 0.7222 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4998, allocations: 10.72 kB / 0.7222 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4998, allocations: 3.844 kB / 0.7222 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.5001, allocations: 149.3 kB / 0.7223 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5001, allocations: 5.281 kB / 0.7223 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.5001, allocations: 3.938 kB / 0.7223 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5001, allocations: 2.469 kB / 0.7223 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.5004, allocations: 173.2 kB / 0.7225 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.5009, allocations: 437.6 kB / 0.7229 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.5012, allocations: 169 kB / 0.7231 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5014, allocations: 89.11 kB / 0.7231 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.5014, allocations: 1 kB / 0.7232 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.5014, allocations: 36.8 kB / 0.7232 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.5014, allocations: 0.875 kB / 0.7232 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000604/0.502, allocations: 289.3 kB / 0.7235 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.502, allocations: 82.23 kB / 0.7235 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5021, allocations: 160.6 kB / 0.7237 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.5022, allocations: 26.8 kB / 0.7237 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.5022, allocations: 101.2 kB / 0.7238 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.5022, allocations: 32.77 kB / 0.7238 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.5023, allocations: 21 kB / 0.7239 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.5023, allocations: 323.2 kB / 0.7242 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.5025, allocations: 76.27 kB / 0.7242 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.5026, allocations: 92.72 kB / 0.7243 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.5029, allocations: 176.1 kB / 0.7245 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5029, allocations: 5.984 kB / 0.7245 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003272/0.5033, allocations: 216.2 kB / 0.7247 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5033, allocations: 4.5 kB / 0.7247 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5033, allocations: 1.156 kB / 0.7247 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5033, allocations: 1.125 kB / 0.7247 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5034, allocations: 34.05 kB / 0.7248 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5034, allocations: 1.609 kB / 0.7248 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.5035, allocations: 23.16 kB / 0.7248 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.5035, allocations: 7.344 kB / 0.7248 GB, free: 20.2 MB / 0.6355 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 (8): * Single equations (assignments): 8 * 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 6.717e-05/0.5036, allocations: 136.8 kB / 0.7249 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.5036, allocations: 9.172 kB / 0.7249 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.5036, allocations: 18.17 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.5036, allocations: 2.562 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5037, allocations: 0.5156 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5037, allocations: 2.016 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.5038, allocations: 167.7 kB / 0.7251 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5038, allocations: 5.688 kB / 0.7251 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.5039, allocations: 37.25 kB / 0.7251 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5039, allocations: 1.219 kB / 0.7251 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5039, allocations: 5.641 kB / 0.7252 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5039, allocations: 1.344 kB / 0.7252 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5039, allocations: 0 / 0.7252 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.5043, allocations: 376.9 kB / 0.7255 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.5043, allocations: 20.25 kB / 0.7255 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5043, allocations: 5.75 kB / 0.7255 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5044, allocations: 23.36 kB / 0.7256 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.5045, allocations: 12.72 kB / 0.7256 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.5045, allocations: 1.406 kB / 0.7256 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.228e-05/0.5046, allocations: 124.2 kB / 0.7257 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5046, allocations: 0 / 0.7257 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001904/0.5047, allocations: 16.62 kB / 0.7257 GB, free: 19.54 MB / 0.6355 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 (8): * Single equations (assignments): 8 * 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.477e-05/0.5048, allocations: 100 kB / 0.7258 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.5052, allocations: 171.3 kB / 0.726 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5052, allocations: 0 / 0.726 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.5054, allocations: 93.39 kB / 0.7261 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.5056, allocations: 14.81 kB / 0.7261 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.506, allocations: 254 kB / 0.7263 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.5061, allocations: 100.6 kB / 0.7264 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.69e-05/0.5062, allocations: 30.8 kB / 0.7264 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.5062, allocations: 16.75 kB / 0.7265 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.5062, allocations: 0 / 0.7265 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.003355/0.5096, allocations: 1.248 MB / 0.7277 GB, free: 18.98 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.268958472996019] Failed to read output from testmodel.py, exit status != 0: 0.5163516500033438 0.524205151 0.023418767 Calling exit ...