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.000872/0.000872, allocations: 76.45 kB / 19.9 MB, free: 16 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.0009294/0.0009294, 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.9003/0.9003, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.6956/0.6956, allocations: 154.9 MB / 414.9 MB, free: 0.5156 MB / 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.001033/0.001033, allocations: 75.47 kB / 0.6199 GB, free: 12.68 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.4915/0.4925, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001463/0.494, allocations: 0.7316 MB / 0.7202 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007275/0.4947, allocations: 0.855 MB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.4948, allocations: 5.062 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.495, allocations: 57.53 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.495, allocations: 38.8 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.739e-05/0.4951, allocations: 22.22 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.4952, allocations: 90 kB / 0.7213 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.4954, allocations: 17.33 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.4954, allocations: 51.88 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.4956, allocations: 87.53 kB / 0.7214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.4956, allocations: 11.91 kB / 0.7214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.4956, allocations: 7.938 kB / 0.7214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.4957, allocations: 40.83 kB / 0.7215 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.4958, allocations: 34.05 kB / 0.7215 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.4959, allocations: 115.7 kB / 0.7216 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4959, allocations: 4.734 kB / 0.7216 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4959, allocations: 0 / 0.7216 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.4959, allocations: 1.094 kB / 0.7216 GB, free: 22.14 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.000515/0.4964, allocations: 389.1 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4965, allocations: 10 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.4965, allocations: 19.06 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.4966, allocations: 151 kB / 0.7222 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.4966, allocations: 6.812 kB / 0.7222 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.4967, allocations: 7.75 kB / 0.7222 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.4969, allocations: 149.8 kB / 0.7223 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4969, allocations: 192 / 0.7223 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.497, allocations: 11.88 kB / 0.7223 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.497, allocations: 2.438 kB / 0.7223 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.4973, allocations: 165.7 kB / 0.7225 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.4977, allocations: 441.2 kB / 0.7229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.498, allocations: 165 kB / 0.7231 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.4981, allocations: 92.95 kB / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.4981, allocations: 5.094 kB / 0.7232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.4982, allocations: 33.75 kB / 0.7232 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.4982, allocations: 0 / 0.7232 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.4987, allocations: 289.1 kB / 0.7235 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.4987, allocations: 79.36 kB / 0.7235 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.4988, allocations: 159.4 kB / 0.7237 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.4988, allocations: 26.8 kB / 0.7237 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.4989, allocations: 104.1 kB / 0.7238 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.4989, allocations: 26.14 kB / 0.7238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.4989, allocations: 25.72 kB / 0.7239 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.499, allocations: 321.9 kB / 0.7242 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4991, allocations: 83.78 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.4993, allocations: 97.09 kB / 0.7243 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.4996, allocations: 169 kB / 0.7245 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4996, allocations: 8.969 kB / 0.7245 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003758/0.5, allocations: 208.6 kB / 0.7247 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5, allocations: 4.25 kB / 0.7247 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5, allocations: 1.469 kB / 0.7247 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5, allocations: 1.953 kB / 0.7247 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.5002, allocations: 37.39 kB / 0.7248 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5002, allocations: 6.188 kB / 0.7248 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.5003, allocations: 27.17 kB / 0.7248 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.5003, allocations: 2.406 kB / 0.7248 GB, free: 20.1 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 7.384e-05/0.5003, allocations: 128.1 kB / 0.7249 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.5004, allocations: 14.67 kB / 0.7249 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.5004, allocations: 22.08 kB / 0.7249 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5004, allocations: 1.188 kB / 0.7249 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5004, allocations: 5.594 kB / 0.725 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5004, allocations: 1.75 kB / 0.725 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.5006, allocations: 160.7 kB / 0.7251 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5006, allocations: 5.188 kB / 0.7251 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5007, allocations: 33.78 kB / 0.7251 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5007, allocations: 4.938 kB / 0.7252 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5007, allocations: 1.031 kB / 0.7252 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5007, allocations: 1.719 kB / 0.7252 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5007, allocations: 5.078 kB / 0.7252 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.5011, allocations: 383.6 kB / 0.7255 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.5012, allocations: 16.23 kB / 0.7255 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.5012, allocations: 2.078 kB / 0.7255 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5013, allocations: 22.5 kB / 0.7256 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.5014, allocations: 12.27 kB / 0.7256 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.5014, allocations: 6.875 kB / 0.7256 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.342e-05/0.5014, allocations: 124.3 kB / 0.7257 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5014, allocations: 0 / 0.7257 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000193/0.5016, allocations: 15.72 kB / 0.7257 GB, free: 19.43 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 0.0001271/0.5018, allocations: 97.12 kB / 0.7258 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.5022, allocations: 176 kB / 0.726 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5022, allocations: 0 / 0.726 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.5024, allocations: 91.67 kB / 0.7261 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.5027, allocations: 15.38 kB / 0.7261 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.5032, allocations: 253.2 kB / 0.7263 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.5033, allocations: 100.5 kB / 0.7264 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.705e-05/0.5033, allocations: 27.52 kB / 0.7264 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.5034, allocations: 12.31 kB / 0.7265 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.5034, allocations: 0 / 0.7265 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.003287/0.5067, allocations: 1.249 MB / 0.7277 GB, free: 18.88 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.182215773034841] Failed to read output from testmodel.py, exit status != 0: 0.5128030059859157 0.521415947 0.023694165000000003 Calling exit ...