Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.001632/0.001632, allocations: 82.09 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001892/0.001892, allocations: 159.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.201/1.201, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.6186 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.874e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001822/0.00185, allocations: 0.6527 MB / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003087, allocations: 0.8392 MB / 0.6201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.003128, allocations: 4 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.00315, allocations: 0 / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.003215, allocations: 3.984 kB / 0.6201 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.003388, allocations: 19.86 kB / 0.6201 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.00346, allocations: 23.92 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.003559, allocations: 8 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.003645, allocations: 11.98 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.003681, allocations: 3.984 kB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.003697, allocations: 4 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.111e-05/0.003748, allocations: 11.98 kB / 0.6202 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.003764, allocations: 3.938 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.003788, allocations: 8 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003893, allocations: 27.89 kB / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003895, allocations: 0 / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.52e-07/0.003896, allocations: 0 / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.0039, allocations: 4 kB / 0.6202 GB, free: 2.844 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004499/0.00435, allocations: 262.3 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.004385, allocations: 12.03 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.873e-05/0.004484, allocations: 4.891 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.0046, allocations: 117.7 kB / 0.6206 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.004612, allocations: 384 / 0.6206 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.004622, allocations: 4.359 kB / 0.6206 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.004805, allocations: 50.23 kB / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.004815, allocations: 192 / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.004829, allocations: 8.375 kB / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004833, allocations: 4.312 kB / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.005024, allocations: 35.89 kB / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.005338, allocations: 188.6 kB / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.005484, allocations: 38.53 kB / 0.6209 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.005581, allocations: 24.91 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.005603, allocations: 4 kB / 0.621 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.005634, allocations: 30.56 kB / 0.621 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005635, allocations: 0 / 0.621 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003874/0.006022, allocations: 85.58 kB / 0.6211 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.006082, allocations: 55.34 kB / 0.6211 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.006181, allocations: 105.8 kB / 0.6212 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.006199, allocations: 25.7 kB / 0.6212 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.006262, allocations: 84.25 kB / 0.6213 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.006282, allocations: 7.953 kB / 0.6213 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.006323, allocations: 17.72 kB / 0.6213 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.006475, allocations: 310.8 kB / 0.6216 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.006561, allocations: 19.92 kB / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.006644, allocations: 19.97 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.00681, allocations: 36.83 kB / 0.6217 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006811, allocations: 4.062 kB / 0.6217 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.007031, allocations: 69.55 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.007049, allocations: 8 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.007057, allocations: 3.938 kB / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.007073, allocations: 0 / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.007174, allocations: 7.984 kB / 0.6218 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.007182, allocations: 7.984 kB / 0.6218 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.007232, allocations: 4 kB / 0.6218 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.007237, allocations: 4.031 kB / 0.6218 GB, free: 1.039 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001021/0.007339, allocations: 115.7 kB / 0.6219 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.007366, allocations: 4 kB / 0.6219 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.007614, allocations: 72.91 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007616, allocations: 0 / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.007621, allocations: 0 / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007624, allocations: 0 / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.007757, allocations: 101.3 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.00776, allocations: 8.031 kB / 0.6221 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.007822, allocations: 11.88 kB / 0.6221 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.007824, allocations: 0 / 0.6221 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.007835, allocations: 7.984 kB / 0.6221 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.007838, allocations: 3.938 kB / 0.6221 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.007841, allocations: 4 kB / 0.6221 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.0081, allocations: 159.5 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.008109, allocations: 3.953 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.008121, allocations: 4.031 kB / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.0082, allocations: 7.938 kB / 0.6223 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.008234, allocations: 3.984 kB / 0.6223 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.008241, allocations: 4.188 kB / 0.6223 GB, free: 488 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.008293, allocations: 87.27 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.008293, allocations: 4 kB / 0.6224 GB, free: 396 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002171/0.00851, allocations: 0 / 0.6224 GB, free: 396 kB / 0.5294 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 (2): * Single equations (assignments): 2 * 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.0001185/0.008629, allocations: 95.25 kB / 0.6225 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.008848, allocations: 43.89 kB / 0.6225 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00885, allocations: 0 / 0.6225 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.008937, allocations: 19.98 kB / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.009212, allocations: 10.02 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.009523, allocations: 104.8 kB / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.793e-05/0.009591, allocations: 67.28 kB / 0.6227 GB, free: 0 / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.009612, allocations: 4.312 kB / 0.6227 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.00964, allocations: 8.5 kB / 0.6227 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.009641, allocations: 0 / 0.6227 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Templates: time 0.002887/0.01253, allocations: 468.6 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.598470974713564] Failed to read output from testmodel.py, exit status != 0: 0.02195659652352333 0.037653604 0.030629961 Calling exit ...