Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.0008301/0.0008301, 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.0008069/0.0008069, allocations: 162 kB / 22.43 MB, free: 2.141 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.8528/0.8528, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6784/0.6784, allocations: 155 MB / 414.2 MB, free: 16 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.MatrixMin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.0008604/0.0008604, allocations: 69.97 kB / 0.6187 GB, free: 12.1 MB / 0.5417 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.4689/0.4697, allocations: 102 MB / 0.7183 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001434/0.4712, allocations: 0.7084 MB / 0.719 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002167/0.4714, allocations: 59.81 kB / 0.7191 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.4714, allocations: 7.938 kB / 0.7191 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.4716, allocations: 19.86 kB / 0.7191 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/0.4716, allocations: 15.86 kB / 0.7191 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.4718, allocations: 27.95 kB / 0.7191 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.4719, allocations: 119.7 kB / 0.7192 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.4721, allocations: 92.69 kB / 0.7193 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.4722, allocations: 95.73 kB / 0.7194 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.4723, allocations: 83.64 kB / 0.7195 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.4723, allocations: 12 kB / 0.7195 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.4723, allocations: 14.95 kB / 0.7195 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.4724, allocations: 55.78 kB / 0.7196 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.4725, allocations: 67.59 kB / 0.7196 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.4727, allocations: 254.3 kB / 0.7199 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4727, allocations: 0 / 0.7199 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4727, allocations: 0 / 0.7199 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4727, allocations: 0 / 0.7199 GB, free: 11.72 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007629/0.4735, allocations: 437.6 kB / 0.7203 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4735, allocations: 9.469 kB / 0.7203 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.4736, allocations: 54.73 kB / 0.7204 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.4736, allocations: 24.8 kB / 0.7204 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.4738, allocations: 198.6 kB / 0.7206 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.4738, allocations: 16.75 kB / 0.7206 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.4738, allocations: 20.31 kB / 0.7206 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.4742, allocations: 353.3 kB / 0.721 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4742, allocations: 0 / 0.721 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4742, allocations: 12 kB / 0.721 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.4742, allocations: 19.94 kB / 0.721 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.4745, allocations: 267.8 kB / 0.7212 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.4752, allocations: 1.034 MB / 0.7223 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/0.4753, allocations: 165.1 kB / 0.7224 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.4753, allocations: 84.08 kB / 0.7225 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4754, allocations: 79.28 kB / 0.7226 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.4754, allocations: 117.9 kB / 0.7227 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4754, allocations: 0 / 0.7227 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.854e-05/0.4755, allocations: 53.52 kB / 0.7227 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4755, allocations: 126.7 kB / 0.7228 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.4759, allocations: 0.5003 MB / 0.7233 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.4759, allocations: 29.7 kB / 0.7234 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/0.476, allocations: 171.9 kB / 0.7235 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-06/0.476, allocations: 0 / 0.7235 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.4761, allocations: 33.66 kB / 0.7236 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4762, allocations: 342.8 kB / 0.7239 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.4762, allocations: 55.89 kB / 0.7239 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.4763, allocations: 102.8 kB / 0.724 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4764, allocations: 122.7 kB / 0.7242 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4764, allocations: 0 / 0.7242 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002276/0.4766, allocations: 181.3 kB / 0.7243 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4766, allocations: 11.94 kB / 0.7243 GB, free: 6.902 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4767, allocations: 4.25 kB / 0.7243 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4767, allocations: 4 kB / 0.7243 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.4768, allocations: 23.92 kB / 0.7244 GB, free: 6.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4768, allocations: 0 / 0.7244 GB, free: 6.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.4768, allocations: 43.72 kB / 0.7244 GB, free: 6.828 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.4769, allocations: 8 kB / 0.7244 GB, free: 6.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 0.0001166/0.477, allocations: 247.4 kB / 0.7247 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.477, allocations: 132.7 kB / 0.7248 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.4771, allocations: 138.7 kB / 0.7249 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/0.4771, allocations: 184.2 kB / 0.7251 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-05/0.4772, allocations: 184.3 kB / 0.7253 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-05/0.4772, allocations: 176.3 kB / 0.7254 GB, free: 5.734 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.4774, allocations: 448.2 kB / 0.7259 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.4774, allocations: 105 kB / 0.726 GB, free: 5.137 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.4775, allocations: 110.1 kB / 0.7261 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.42e-05/0.4775, allocations: 188.2 kB / 0.7262 GB, free: 4.832 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.4776, allocations: 180.3 kB / 0.7264 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.317e-05/0.4776, allocations: 180.2 kB / 0.7266 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.214e-05/0.4776, allocations: 176.3 kB / 0.7268 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.478, allocations: 335.6 kB / 0.7271 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.4781, allocations: 152.7 kB / 0.7272 GB, free: 3.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.4782, allocations: 184.2 kB / 0.7274 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.4782, allocations: 105.3 kB / 0.7275 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4783, allocations: 180.2 kB / 0.7277 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4783, allocations: 105 kB / 0.7278 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002405/0.4785, allocations: 367 kB / 0.7281 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4785, allocations: 3.938 kB / 0.7281 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001828/0.4787, allocations: 28 kB / 0.7282 GB, free: 2.805 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003297/0.4791, allocations: 0.8281 MB / 0.729 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.4792, allocations: 71.89 kB / 0.729 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4792, allocations: 0 / 0.729 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.4792, allocations: 4 kB / 0.729 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.4797, allocations: 487.8 kB / 0.7295 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.482, allocations: 3.308 MB / 0.7327 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.4821, allocations: 172.6 kB / 0.7329 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.675e-05/0.4822, allocations: 49.61 kB / 0.7329 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.4823, allocations: 64.48 kB / 0.733 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.4823, allocations: 0 / 0.733 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.5007, allocations: 5.371 MB / 0.7382 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/6.995, allocations: 7.719 kB / 0.7383 GB, free: 8.453 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.547865530941635] Failed to read output from testmodel.py, exit status != 0: 7.073000727919862 7.08191997 6.607596084 Calling exit ...