Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000928/0.000928, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001073/0.001073, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9177/0.9177, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7041/0.7041, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.199e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.0013/0.001322, allocations: 0.7383 MB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.002085, allocations: 0.8549 MB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.002135, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.002302, allocations: 59.73 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.002345, allocations: 35.77 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.172e-05/0.002417, allocations: 23.97 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.002523, allocations: 91.75 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.002634, allocations: 15.97 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.002708, allocations: 51.89 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.002824, allocations: 83.81 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.002851, allocations: 8 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.002861, allocations: 8 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.002912, allocations: 35.91 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.002946, allocations: 27.91 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.003067, allocations: 127.5 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003069, allocations: 4 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00307, allocations: 4 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.003074, allocations: 0 / 0.6203 GB, free: 11.43 MB / 0.5886 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.000478/0.003552, allocations: 381.7 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.003588, allocations: 12.03 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.003617, allocations: 38.73 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.003639, allocations: 20.83 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.003766, allocations: 141.6 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.003774, allocations: 8.375 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.003786, allocations: 4.375 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.00402, allocations: 154.3 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004027, allocations: 192 / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.004038, allocations: 4.375 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004044, allocations: 4.125 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.004302, allocations: 171.8 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.004784, allocations: 464 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.005012, allocations: 161.1 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.00514, allocations: 101.7 kB / 0.6219 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.005151, allocations: 0 / 0.6219 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.005168, allocations: 34.56 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.005169, allocations: 0 / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0004629/0.005632, allocations: 285.3 kB / 0.6222 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.005665, allocations: 81.11 kB / 0.6223 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.005754, allocations: 167.5 kB / 0.6224 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.005765, allocations: 29.64 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.005807, allocations: 104.1 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.00583, allocations: 27.8 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.005864, allocations: 21.72 kB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.005937, allocations: 326.8 kB / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.006058, allocations: 75.92 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.006176, allocations: 89.58 kB / 0.6231 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.006415, allocations: 177.9 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.006418, allocations: 3.984 kB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002687/0.006687, allocations: 213.4 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.006699, allocations: 8 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006703, allocations: 0 / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006714, allocations: 3.938 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.006821, allocations: 35.95 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.006826, allocations: 0 / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.006884, allocations: 27.95 kB / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.00689, allocations: 4 kB / 0.6235 GB, free: 7.883 MB / 0.5886 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.764e-05/0.006958, allocations: 126.8 kB / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.006986, allocations: 19.83 kB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.007012, allocations: 16.34 kB / 0.6237 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007015, allocations: 4 kB / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007019, allocations: 0 / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007022, allocations: 0 / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.007195, allocations: 192.6 kB / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007197, allocations: 4 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.007278, allocations: 39.89 kB / 0.6239 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.007281, allocations: 4 kB / 0.6239 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.007289, allocations: 0 / 0.6239 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007291, allocations: 4 kB / 0.6239 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007292, allocations: 0 / 0.6239 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.007617, allocations: 374.6 kB / 0.6243 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.007627, allocations: 15.91 kB / 0.6243 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.00764, allocations: 3.984 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.007729, allocations: 23.97 kB / 0.6243 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.007772, allocations: 11.98 kB / 0.6243 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.007776, allocations: 0 / 0.6243 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.007834, allocations: 128.3 kB / 0.6244 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007834, allocations: 0 / 0.6244 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000172/0.008006, allocations: 16 kB / 0.6244 GB, free: 6.848 MB / 0.5886 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.0005034/0.008509, allocations: 0.9068 MB / 0.6253 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.0088, allocations: 175.8 kB / 0.6255 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008802, allocations: 0 / 0.6255 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.008929, allocations: 99.73 kB / 0.6256 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.009164, allocations: 8 kB / 0.6256 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.01073, allocations: 1.974 MB / 0.6275 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.0108, allocations: 92.27 kB / 0.6276 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.714e-05/0.01086, allocations: 31.95 kB / 0.6277 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.01091, allocations: 32.48 kB / 0.6277 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01091, allocations: 0 / 0.6277 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.02755, allocations: 3.417 MB / 0.631 GB, free: 148 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/6.667, allocations: 10.25 kB / 0.631 GB, free: 140 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.321655700914562] Failed to read output from testmodel.py, exit status != 0: 6.748730631545186 6.758042309 6.7532184299999996 Calling exit ...