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.0009161/0.0009161, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001074/0.001074, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9403/0.9403, allocations: 177.1 MB / 202.8 MB, free: 5.727 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7414/0.7414, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.344e-05, allocations: 3.484 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001712/0.001736, allocations: 0.733 MB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002779, allocations: 0.8471 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.002842, allocations: 7.938 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.003087, allocations: 59.72 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.003146, allocations: 31.84 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.003246, allocations: 23.97 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003376, allocations: 91.67 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.003503, allocations: 19.98 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.003591, allocations: 55.88 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.003712, allocations: 75.84 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.00374, allocations: 8 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.003753, allocations: 8 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.003814, allocations: 39.89 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.003853, allocations: 27.86 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.003993, allocations: 127.5 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003996, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.664e-06/0.003998, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.004003, allocations: 4 kB / 0.6202 GB, free: 11.48 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.0005751/0.004578, allocations: 385.7 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.004618, allocations: 9.469 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.004653, allocations: 38.75 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.004682, allocations: 8.891 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.004828, allocations: 149.5 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.004838, allocations: 12.38 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.004853, allocations: 8.312 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.005114, allocations: 159.2 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.005122, allocations: 192 / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.005132, allocations: 384 / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.005139, allocations: 8.125 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.00541, allocations: 167.8 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.005922, allocations: 464 kB / 0.6216 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.006171, allocations: 165 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.00631, allocations: 89.73 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.006329, allocations: 4 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.006353, allocations: 34.56 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.704e-06/0.006355, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0004954/0.00685, allocations: 289.3 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.006891, allocations: 77.11 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.006998, allocations: 165.1 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.00701, allocations: 25.7 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.007064, allocations: 108.1 kB / 0.6225 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.007092, allocations: 27.78 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.007127, allocations: 21.72 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.007214, allocations: 326.8 kB / 0.6228 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.007346, allocations: 79.86 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.007473, allocations: 89.64 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.007723, allocations: 177.5 kB / 0.6232 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007725, allocations: 0 / 0.6232 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002849/0.00801, allocations: 217.7 kB / 0.6234 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.008031, allocations: 4 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008037, allocations: 4 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.008049, allocations: 0 / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.008166, allocations: 35.95 kB / 0.6234 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008172, allocations: 0 / 0.6234 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.008232, allocations: 20.02 kB / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.00824, allocations: 7.984 kB / 0.6234 GB, free: 7.949 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 7.902e-05/0.008319, allocations: 134.8 kB / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.008349, allocations: 19.78 kB / 0.6236 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.008379, allocations: 20.33 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.008382, allocations: 0 / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.008388, allocations: 4 kB / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008392, allocations: 0 / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.008571, allocations: 192.5 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008573, allocations: 0 / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.008651, allocations: 35.95 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008653, allocations: 4 kB / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.008663, allocations: 8 kB / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.008664, allocations: 0 / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008666, allocations: 0 / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.009027, allocations: 378.6 kB / 0.6242 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.00904, allocations: 11.91 kB / 0.6242 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.009056, allocations: 7.938 kB / 0.6242 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.009148, allocations: 23.95 kB / 0.6242 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.009195, allocations: 11.98 kB / 0.6243 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.0092, allocations: 4 kB / 0.6243 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.009264, allocations: 120.8 kB / 0.6244 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009264, allocations: 4 kB / 0.6244 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001723/0.009436, allocations: 12 kB / 0.6244 GB, free: 6.902 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.0005227/0.009959, allocations: 0.9146 MB / 0.6253 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.01026, allocations: 168.2 kB / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01026, allocations: 0 / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.01039, allocations: 95.84 kB / 0.6255 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01067, allocations: 13.81 kB / 0.6255 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.01241, allocations: 1.981 MB / 0.6275 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.01248, allocations: 88.31 kB / 0.6276 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.258e-05/0.01254, allocations: 27.97 kB / 0.6276 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.0126, allocations: 32.48 kB / 0.6276 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.0126, allocations: 0 / 0.6276 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.03185, allocations: 3.415 MB / 0.631 GB, free: 200 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/6.728, allocations: 3.453 kB / 0.631 GB, free: 200 kB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.487644656561315] Failed to read output from testmodel.py, exit status != 0: 6.80991536937654 6.820514575 6.814693241 Calling exit ...