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.001091/0.001091, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001366/0.001366, allocations: 162 kB / 22.43 MB, free: 2.145 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.8507/0.8507, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.687/0.687, allocations: 155 MB / 414.2 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: "" <> 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.001034/0.001034, allocations: 72.23 kB / 0.6187 GB, free: 13.18 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.4577/0.4588, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001394/0.4602, allocations: 0.7457 MB / 0.719 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.4609, allocations: 0.8548 MB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.4609, allocations: 1.406 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.4611, allocations: 56.81 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.4612, allocations: 40.16 kB / 0.72 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.639e-05/0.4613, allocations: 22.92 kB / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.4614, allocations: 88.75 kB / 0.7201 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4615, allocations: 16.31 kB / 0.7201 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.4616, allocations: 57.73 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.4618, allocations: 84.36 kB / 0.7202 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.4618, allocations: 7.062 kB / 0.7202 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.4618, allocations: 7.875 kB / 0.7202 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.4619, allocations: 40 kB / 0.7203 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.4619, allocations: 33.36 kB / 0.7203 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.4621, allocations: 129 kB / 0.7204 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4621, allocations: 9 kB / 0.7204 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4621, allocations: 0 / 0.7204 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4621, allocations: 0 / 0.7204 GB, free: 21.83 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.0005745/0.4627, allocations: 386.7 kB / 0.7208 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4627, allocations: 11.06 kB / 0.7208 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.4628, allocations: 38.56 kB / 0.7209 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.4628, allocations: 15.19 kB / 0.7209 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.4629, allocations: 152.8 kB / 0.721 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4629, allocations: 7.219 kB / 0.721 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4629, allocations: 3.719 kB / 0.721 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.4632, allocations: 148.6 kB / 0.7212 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4632, allocations: 7.875 kB / 0.7212 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4632, allocations: 1.219 kB / 0.7212 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4633, allocations: 1.062 kB / 0.7212 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.4636, allocations: 179.1 kB / 0.7214 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.464, allocations: 464 kB / 0.7218 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.4643, allocations: 160.6 kB / 0.7219 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.4644, allocations: 93.28 kB / 0.722 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.4645, allocations: 2.219 kB / 0.722 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.4645, allocations: 33.31 kB / 0.7221 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.4645, allocations: 0 / 0.7221 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005545/0.465, allocations: 288.7 kB / 0.7223 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.4651, allocations: 83.23 kB / 0.7224 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4652, allocations: 161.5 kB / 0.7226 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.4652, allocations: 29.7 kB / 0.7226 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.4652, allocations: 105.5 kB / 0.7227 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.4652, allocations: 33.52 kB / 0.7227 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.4653, allocations: 21.47 kB / 0.7228 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.4653, allocations: 326.1 kB / 0.7231 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4655, allocations: 75.8 kB / 0.7231 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.4656, allocations: 88.92 kB / 0.7232 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4659, allocations: 177.8 kB / 0.7234 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4659, allocations: 0 / 0.7234 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003074/0.4662, allocations: 212.2 kB / 0.7236 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4662, allocations: 6.375 kB / 0.7236 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4662, allocations: 1.312 kB / 0.7236 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4662, allocations: 0 / 0.7236 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4664, allocations: 34.86 kB / 0.7236 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4664, allocations: 5.109 kB / 0.7236 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.4665, allocations: 27.52 kB / 0.7237 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4665, allocations: 10.03 kB / 0.7237 GB, free: 19.72 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.598e-05/0.4665, allocations: 129.5 kB / 0.7238 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4666, allocations: 9.938 kB / 0.7238 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.4666, allocations: 22.92 kB / 0.7238 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4666, allocations: 0.9062 kB / 0.7238 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.4666, allocations: 1.25 kB / 0.7238 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4666, allocations: 0.7031 kB / 0.7238 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4668, allocations: 197.1 kB / 0.724 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4668, allocations: 0 / 0.724 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.4669, allocations: 38.44 kB / 0.7241 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4669, allocations: 1.281 kB / 0.7241 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.4669, allocations: 4.656 kB / 0.7241 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4669, allocations: 1.344 kB / 0.7241 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4669, allocations: 1.562 kB / 0.7241 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4672, allocations: 380.1 kB / 0.7244 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.4672, allocations: 16.39 kB / 0.7245 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.4672, allocations: 5.281 kB / 0.7245 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4674, allocations: 26.67 kB / 0.7245 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4674, allocations: 11.8 kB / 0.7245 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.4674, allocations: 2.875 kB / 0.7245 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.4675, allocations: 124.3 kB / 0.7246 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4675, allocations: 0 / 0.7246 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001792/0.4676, allocations: 15.16 kB / 0.7246 GB, free: 19.02 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.0004549/0.4681, allocations: 0.9062 MB / 0.7255 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.4684, allocations: 175.1 kB / 0.7257 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4684, allocations: 0 / 0.7257 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4686, allocations: 88.03 kB / 0.7258 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.4688, allocations: 12.11 kB / 0.7258 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4704, allocations: 1.984 MB / 0.7277 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.091e-05/0.4705, allocations: 95.95 kB / 0.7278 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.095e-05/0.4706, allocations: 27.16 kB / 0.7278 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.4706, allocations: 32.73 kB / 0.7279 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4706, allocations: 0 / 0.7279 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.4886, allocations: 3.406 MB / 0.7312 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/7.018, allocations: 5.344 kB / 0.7312 GB, free: 15.62 MB / 0.6355 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.63727099308744] Failed to read output from testmodel.py, exit status != 0: 7.09669758589007 7.111257063 6.647203865 Calling exit ...