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.00121/0.00121, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001265/0.001265, allocations: 177 kB / 23.35 MB, free: 1.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.9856/0.9856, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.832/0.832, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 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 179] 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 1.473e-06/1.473e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.658e-05, allocations: 5.312 kB / 480.1 MB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001289/0.001306, allocations: 0.7156 MB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.002099, allocations: 0.8658 MB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.002133, allocations: 0 / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.00216, allocations: 7 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.002228, allocations: 1.969 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.002373, allocations: 15.92 kB / 481.7 MB, free: 5.211 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.002435, allocations: 28.78 kB / 481.7 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.002504, allocations: 4 kB / 481.7 MB, free: 5.184 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.002575, allocations: 13.52 kB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.002607, allocations: 8.984 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.00262, allocations: 0.6875 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.002676, allocations: 7.984 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.002692, allocations: 13.5 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.002706, allocations: 0.875 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.604e-05/0.002792, allocations: 25.5 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002793, allocations: 1.875 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002794, allocations: 0 / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.002797, allocations: 0 / 481.8 MB, free: 5.121 MB / 442.7 MB 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.0002558/0.003053, allocations: 231.7 kB / 482 MB, free: 4.871 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.003081, allocations: 9.562 kB / 482 MB, free: 4.863 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.003161, allocations: 5.281 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.413e-05/0.003235, allocations: 113.7 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.003244, allocations: 1.281 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-06/0.003248, allocations: 384 / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.003333, allocations: 63.94 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.003341, allocations: 1.062 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.003347, allocations: 384 / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.003353, allocations: 5 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.003372, allocations: 9.188 kB / 482.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.00354, allocations: 140.3 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.514e-05/0.003575, allocations: 26.58 kB / 482.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.003587, allocations: 8.125 kB / 482.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.003597, allocations: 1.375 kB / 482.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.003618, allocations: 39.55 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.003618, allocations: 0 / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.042e-05/0.003709, allocations: 38.8 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.003736, allocations: 55.34 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.003784, allocations: 106.7 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.003794, allocations: 26.42 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.003821, allocations: 80.14 kB / 482.8 MB, free: 4.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.003836, allocations: 16.8 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.003856, allocations: 9.719 kB / 482.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.003928, allocations: 320 kB / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.003939, allocations: 0 / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.003947, allocations: 5.453 kB / 483.1 MB, free: 3.703 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.003967, allocations: 16.78 kB / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.003968, allocations: 0.7812 kB / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.533e-05/0.004003, allocations: 30.25 kB / 483.1 MB, free: 3.648 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.004014, allocations: 13.42 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.004017, allocations: 0 / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.004027, allocations: 0 / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.004076, allocations: 7.938 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.004078, allocations: 1.828 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.004092, allocations: 4 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.004096, allocations: 0.7188 kB / 483.2 MB, free: 3.625 MB / 442.7 MB 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 4.949e-05/0.004145, allocations: 114.7 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.004158, allocations: 0 / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.004214, allocations: 46.84 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.004216, allocations: 4 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.004219, allocations: 3.938 kB / 483.3 MB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004221, allocations: 0.625 kB / 483.3 MB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.207e-05/0.004293, allocations: 67.62 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.004294, allocations: 0.5938 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.004313, allocations: 8.641 kB / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.004313, allocations: 0 / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.004317, allocations: 0.5312 kB / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.004318, allocations: 0.5625 kB / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004319, allocations: 4 kB / 483.4 MB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.459e-05/0.004383, allocations: 148 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.004389, allocations: 4.766 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-06/0.004395, allocations: 0 / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.004425, allocations: 9.875 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.004449, allocations: 3.984 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.004452, allocations: 1.078 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.266e-06/0.00446, allocations: 13.52 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00446, allocations: 0 / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001105/0.004571, allocations: 5.406 kB / 483.6 MB, free: 3.16 MB / 442.7 MB 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 6.017e-05/0.004631, allocations: 73.73 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.825e-05/0.004679, allocations: 17.53 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.004681, allocations: 0.6562 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.004695, allocations: 16.8 kB / 483.7 MB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.004819, allocations: 5.906 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.005141, allocations: 104.8 kB / 483.8 MB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.005172, allocations: 55.34 kB / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.322e-05/0.005185, allocations: 0 / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.005224, allocations: 55.38 kB / 483.9 MB, free: 2.781 MB / 442.7 MB Notification: Performance of SimCode: time 6.32e-07/0.005224, allocations: 0 / 483.9 MB, free: 2.781 MB / 442.7 MB Notification: Performance of Templates: time 0.001725/0.00695, allocations: 455.6 kB / 484.4 MB, free: 2.363 MB / 442.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6422447273507714]