Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001468/0.001468, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.001503/0.001503, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.209/1.209, allocations: 154.6 MB / 413.7 MB, free: 5.324 MB / 382.1 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 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6186 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.943e-05, allocations: 4.438 kB / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00173/0.001759, allocations: 0.6501 MB / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.002972, allocations: 0.847 MB / 0.6201 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.003011, allocations: 4 kB / 0.6201 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.003044, allocations: 0 / 0.6201 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.003115, allocations: 7.938 kB / 0.6201 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.00331, allocations: 15.97 kB / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.003387, allocations: 23.92 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.003487, allocations: 4 kB / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.003563, allocations: 15.92 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.003604, allocations: 4 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.003622, allocations: 4 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.003667, allocations: 4 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.003687, allocations: 7.984 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.003712, allocations: 8 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.003827, allocations: 35.83 kB / 0.6202 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003829, allocations: 0 / 0.6202 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00383, allocations: 3.938 kB / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003834, allocations: 0 / 0.6202 GB, free: 2.965 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.0004728/0.004307, allocations: 262.3 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.004347, allocations: 13.47 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.004435, allocations: 8.875 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.004547, allocations: 109.7 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.004561, allocations: 4.375 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.00457, allocations: 384 / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.004752, allocations: 50.23 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.004763, allocations: 192 / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.004772, allocations: 384 / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.004785, allocations: 8.359 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.004961, allocations: 35.89 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.005288, allocations: 192.6 kB / 0.6208 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.005427, allocations: 38.56 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.005519, allocations: 24.89 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.005543, allocations: 0 / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.005573, allocations: 34.56 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.005574, allocations: 0 / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003581/0.005932, allocations: 85.52 kB / 0.621 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.005977, allocations: 55.53 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.006053, allocations: 101.9 kB / 0.6212 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.006069, allocations: 29.64 kB / 0.6212 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.006116, allocations: 80.14 kB / 0.6213 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.006137, allocations: 15.88 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.006168, allocations: 13.72 kB / 0.6213 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.006295, allocations: 310.8 kB / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.006377, allocations: 15.98 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.006451, allocations: 19.98 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.006607, allocations: 40.81 kB / 0.6217 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006609, allocations: 0 / 0.6217 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002037/0.006812, allocations: 73.55 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.006827, allocations: 8 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.006833, allocations: 3.938 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006846, allocations: 96 / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.006928, allocations: 8 kB / 0.6218 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.006938, allocations: 7.969 kB / 0.6218 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.006982, allocations: 4 kB / 0.6218 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.00699, allocations: 4 kB / 0.6218 GB, free: 1.164 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 7.191e-05/0.007061, allocations: 106.8 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.007084, allocations: 0 / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.007325, allocations: 88.78 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007327, allocations: 4.031 kB / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.00733, allocations: 0 / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007333, allocations: 0 / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.007456, allocations: 101.3 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007457, allocations: 0 / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.007519, allocations: 11.98 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007521, allocations: 0 / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.007528, allocations: 0 / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.007537, allocations: 7.938 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007538, allocations: 0 / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.007782, allocations: 163.5 kB / 0.6222 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.00779, allocations: 3.953 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.007803, allocations: 3.984 kB / 0.6222 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.007883, allocations: 11.94 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.007917, allocations: 7.922 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.007923, allocations: 4 kB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.007967, allocations: 83.22 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007967, allocations: 0 / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002119/0.008179, allocations: 4 kB / 0.6223 GB, free: 0.5078 MB / 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.0001087/0.008287, allocations: 95.28 kB / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.008512, allocations: 43.95 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008513, allocations: 0 / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.008598, allocations: 15.98 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.008889, allocations: 7 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.009189, allocations: 116.8 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.264e-05/0.009251, allocations: 71.33 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.009271, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.009299, allocations: 8.5 kB / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.009299, allocations: 0 / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of Templates: time 0.002774/0.01207, allocations: 467.9 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7975547425448895] Failed to read output from testmodel.py, exit status != 0: 0.0203096903860569 0.034532922 0.027696790000000002 Calling exit ...