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.0008374/0.0008374, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008996/0.0008996, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9235/0.9235, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.7849/0.7849, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [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: 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.000883/0.000883, allocations: 74.75 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4897, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001547/0.4912, allocations: 0.7502 MB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.492, allocations: 0.8546 MB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.492, allocations: 7.875 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.4923, allocations: 52.31 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.4923, allocations: 45.19 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.841e-05/0.4924, allocations: 16.69 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.4925, allocations: 88.38 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4927, allocations: 19.61 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.4927, allocations: 36.48 kB / 0.8197 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.4929, allocations: 87.25 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.4929, allocations: 9.188 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.4929, allocations: 9.406 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.493, allocations: 39.16 kB / 0.8198 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.493, allocations: 35.72 kB / 0.8198 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.4932, allocations: 127.5 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4932, allocations: 0 / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4932, allocations: 0 / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4932, allocations: 2.375 kB / 0.8199 GB, free: 15.72 MB / 0.6198 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.0005744/0.4938, allocations: 387.6 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4938, allocations: 11.91 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.4938, allocations: 36.06 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.4939, allocations: 16.45 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.494, allocations: 142.7 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.494, allocations: 6 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.494, allocations: 8.094 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.4943, allocations: 154 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4943, allocations: 5.312 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4943, allocations: 4 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4943, allocations: 1.281 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.4946, allocations: 164.2 kB / 0.8208 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.4952, allocations: 469.3 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.4954, allocations: 169.2 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.4956, allocations: 91.33 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.4956, allocations: 1.984 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4956, allocations: 36.89 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.4956, allocations: 1.312 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000525/0.4961, allocations: 288 kB / 0.8219 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.4962, allocations: 79.7 kB / 0.8219 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4963, allocations: 162.3 kB / 0.8221 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4963, allocations: 26.97 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.4963, allocations: 103.6 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.4964, allocations: 30.3 kB / 0.8222 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.4964, allocations: 21.19 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.4965, allocations: 326.5 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4966, allocations: 81.47 kB / 0.8226 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.4967, allocations: 96.84 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.497, allocations: 171.5 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.497, allocations: 4 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003067/0.4973, allocations: 209.1 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4973, allocations: 7.312 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4973, allocations: 1.703 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4973, allocations: 5.094 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4975, allocations: 33.92 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.4975, allocations: 1.281 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.4975, allocations: 24.06 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.4975, allocations: 2.875 kB / 0.8232 GB, free: 13.62 MB / 0.6198 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.592e-05/0.4976, allocations: 131.7 kB / 0.8233 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.4976, allocations: 9.422 kB / 0.8233 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.4977, allocations: 22.56 kB / 0.8233 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4977, allocations: 9 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4977, allocations: 1.672 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4977, allocations: 1.266 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.4979, allocations: 193.2 kB / 0.8235 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4979, allocations: 0.7031 kB / 0.8235 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.498, allocations: 33.83 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.498, allocations: 1.375 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.498, allocations: 0 / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.498, allocations: 1.953 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.498, allocations: 5.094 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.4983, allocations: 384.2 kB / 0.8239 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.4984, allocations: 15.81 kB / 0.824 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.4984, allocations: 1.547 kB / 0.824 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.4985, allocations: 28.19 kB / 0.824 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.4985, allocations: 12.41 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4985, allocations: 2 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.72e-05/0.4986, allocations: 126.2 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4986, allocations: 0 / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001827/0.4988, allocations: 20.81 kB / 0.8241 GB, free: 12.91 MB / 0.6198 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.0005516/0.4993, allocations: 0.9091 MB / 0.825 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.4997, allocations: 161.9 kB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4997, allocations: 1.438 kB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.4998, allocations: 91.53 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.5001, allocations: 15.12 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.5018, allocations: 1.97 MB / 0.8272 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.999e-05/0.5019, allocations: 104 kB / 0.8273 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.538e-05/0.5019, allocations: 26.77 kB / 0.8273 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.502, allocations: 30.45 kB / 0.8274 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.502, allocations: 1.594 kB / 0.8274 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.5193, allocations: 3.272 MB / 0.8306 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.417, allocations: 13.22 kB / 0.8306 GB, free: 9.551 MB / 0.6198 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: 10.231407255865633] Failed to read output from testmodel.py, exit status != 0: 7.4947863928973675 7.512259846 7.016005693 Calling exit ...