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.00117/0.00117, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001362/0.001362, allocations: 210.7 kB / 22.25 MB, free: 3.855 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.996/0.996, allocations: 230.6 MB / 256 MB, free: 3.469 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.7582/0.7582, allocations: 203.8 MB / 0.5042 GB, free: 0.75 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.001341/0.001341, allocations: 63.89 kB / 0.7183 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4721, allocations: 102 MB / 0.8179 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001589/0.4737, allocations: 0.7664 MB / 0.8186 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.4745, allocations: 0.8546 MB / 0.8195 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.4745, allocations: 2.688 kB / 0.8195 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.4747, allocations: 60.75 kB / 0.8195 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.4748, allocations: 37.95 kB / 0.8196 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.723e-05/0.4748, allocations: 17.16 kB / 0.8196 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.475, allocations: 96.83 kB / 0.8197 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.4751, allocations: 13.78 kB / 0.8197 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.4751, allocations: 42.5 kB / 0.8197 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.4753, allocations: 88.72 kB / 0.8198 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.4753, allocations: 10.12 kB / 0.8198 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.4753, allocations: 7.531 kB / 0.8198 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.4754, allocations: 39.48 kB / 0.8199 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.4754, allocations: 42.36 kB / 0.8199 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.4756, allocations: 126.2 kB / 0.82 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4756, allocations: 4 kB / 0.82 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4756, allocations: 2.5 kB / 0.82 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4756, allocations: 0 / 0.82 GB, free: 23.57 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.0005242/0.4761, allocations: 391.6 kB / 0.8204 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4762, allocations: 10.59 kB / 0.8204 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.4762, allocations: 38.09 kB / 0.8205 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.4762, allocations: 10.7 kB / 0.8205 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4764, allocations: 145 kB / 0.8206 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.4764, allocations: 3.156 kB / 0.8206 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4764, allocations: 8.281 kB / 0.8206 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.4767, allocations: 154.5 kB / 0.8208 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4767, allocations: 3.938 kB / 0.8208 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4767, allocations: 8.281 kB / 0.8208 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4767, allocations: 1 kB / 0.8208 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.477, allocations: 163.8 kB / 0.8209 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.4775, allocations: 488.8 kB / 0.8214 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.4778, allocations: 159.8 kB / 0.8216 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.4779, allocations: 88.61 kB / 0.8216 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4779, allocations: 9.656 kB / 0.8217 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.478, allocations: 40.61 kB / 0.8217 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.478, allocations: 0 / 0.8217 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005273/0.4785, allocations: 280.6 kB / 0.822 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.4785, allocations: 83.23 kB / 0.822 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4787, allocations: 164.3 kB / 0.8222 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4787, allocations: 26.45 kB / 0.8222 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.4787, allocations: 105.3 kB / 0.8223 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.4787, allocations: 29.42 kB / 0.8224 GB, free: 22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.4788, allocations: 21.52 kB / 0.8224 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.4788, allocations: 326.1 kB / 0.8227 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.479, allocations: 79.69 kB / 0.8228 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.4792, allocations: 97.39 kB / 0.8229 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.4795, allocations: 180.2 kB / 0.823 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4795, allocations: 0.7031 kB / 0.823 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003444/0.4799, allocations: 200.4 kB / 0.8232 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4799, allocations: 9.234 kB / 0.8232 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4799, allocations: 1.938 kB / 0.8232 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.4799, allocations: 0 / 0.8232 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.48, allocations: 41.92 kB / 0.8233 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.48, allocations: 1.188 kB / 0.8233 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.4801, allocations: 24.34 kB / 0.8233 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4801, allocations: 2.812 kB / 0.8233 GB, free: 21.48 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 5.335e-05/0.4802, allocations: 136 kB / 0.8234 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.4802, allocations: 14.33 kB / 0.8234 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.4802, allocations: 17.77 kB / 0.8235 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4802, allocations: 2.062 kB / 0.8235 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4802, allocations: 0.9844 kB / 0.8235 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4802, allocations: 0.8438 kB / 0.8235 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.4804, allocations: 202 kB / 0.8236 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4804, allocations: 1.219 kB / 0.8237 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.4805, allocations: 38.2 kB / 0.8237 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4805, allocations: 5.094 kB / 0.8237 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4805, allocations: 5.859 kB / 0.8237 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4805, allocations: 1.75 kB / 0.8237 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4805, allocations: 0 / 0.8237 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.4809, allocations: 375.6 kB / 0.8241 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.4809, allocations: 15.78 kB / 0.8241 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4809, allocations: 4.516 kB / 0.8241 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.481, allocations: 23.38 kB / 0.8241 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.4811, allocations: 13.14 kB / 0.8241 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4811, allocations: 5.562 kB / 0.8241 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.4811, allocations: 132.8 kB / 0.8242 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4811, allocations: 3.938 kB / 0.8242 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001801/0.4813, allocations: 16.59 kB / 0.8243 GB, free: 20.77 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.0005214/0.4818, allocations: 0.9022 MB / 0.8251 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.4821, allocations: 174.9 kB / 0.8253 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4821, allocations: 0 / 0.8253 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4823, allocations: 88.56 kB / 0.8254 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4826, allocations: 11.7 kB / 0.8254 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4842, allocations: 1.978 MB / 0.8273 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.4844, allocations: 0.7078 MB / 0.828 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.595e-05/0.4844, allocations: 34.89 kB / 0.8281 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.4845, allocations: 30.62 kB / 0.8281 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.4845, allocations: 4 kB / 0.8281 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.5019, allocations: 2.84 MB / 0.8309 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/7.248, allocations: 2.172 kB / 0.8309 GB, free: 17.26 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: 10.115058389026672] Failed to read output from testmodel.py, exit status != 0: 7.325395473977551 7.335247438 6.857593623 Calling exit ...