Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0006784/0.0006784, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009166/0.001595, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006973/0.0006973, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008628/0.00156, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9918/0.9918, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08692/1.079, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.8898/0.8898, allocations: 154.6 MB / 398.5 MB, free: 492 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2895/1.179, allocations: 49.03 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 448.9 MB, free: 5.379 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.784e-05, allocations: 6.312 kB / 448.9 MB, free: 5.371 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001241/0.001259, allocations: 0.6265 MB / 449.5 MB, free: 4.785 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.665e-05/0.001276, allocations: 3.938 kB / 449.5 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.001294, allocations: 1.969 kB / 449.5 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.001313, allocations: 0 / 449.5 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.153e-05/0.001325, allocations: 0.6562 kB / 449.5 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.3e-05/0.001338, allocations: 0 / 449.5 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.001387, allocations: 8.75 kB / 449.5 MB, free: 4.773 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.001427, allocations: 4.547 kB / 449.5 MB, free: 4.77 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.001472, allocations: 5.859 kB / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.466e-05/0.001496, allocations: 1.406 kB / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.001512, allocations: 0 / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-06/0.001516, allocations: 0 / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.001526, allocations: 0.9844 kB / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.001543, allocations: 4.75 kB / 449.6 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.224e-05/0.001605, allocations: 5.422 kB / 449.6 MB, free: 4.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.001619, allocations: 1.594 kB / 449.6 MB, free: 4.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001619, allocations: 0 / 449.6 MB, free: 4.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.001636, allocations: 0 / 449.6 MB, free: 4.758 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002569/0.001893, allocations: 212.8 kB / 449.8 MB, free: 4.523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.001923, allocations: 14.56 kB / 449.8 MB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.001945, allocations: 4.875 kB / 449.8 MB, free: 4.508 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.002033, allocations: 101.8 kB / 449.9 MB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.002044, allocations: 4.375 kB / 449.9 MB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-06/0.00205, allocations: 384 / 449.9 MB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.47e-05/0.002115, allocations: 27.14 kB / 449.9 MB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.002122, allocations: 0.8438 kB / 449.9 MB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.002128, allocations: 1.656 kB / 449.9 MB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.002133, allocations: 384 / 449.9 MB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.272e-05/0.002145, allocations: 11.92 kB / 449.9 MB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.002359, allocations: 291.5 kB / 450.2 MB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.316e-05/0.002432, allocations: 170.1 kB / 450.4 MB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.002872, allocations: 86.11 kB / 450.5 MB, free: 3.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.002888, allocations: 75.28 kB / 450.5 MB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.002923, allocations: 105.8 kB / 450.6 MB, free: 3.586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.002924, allocations: 0.9062 kB / 450.6 MB, free: 3.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.694e-05/0.002971, allocations: 29.64 kB / 450.7 MB, free: 3.551 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.003022, allocations: 139.2 kB / 450.8 MB, free: 3.398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.35e-05/0.003076, allocations: 100.4 kB / 450.9 MB, free: 3.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.003084, allocations: 25.7 kB / 450.9 MB, free: 3.258 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.003111, allocations: 86.75 kB / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.003113, allocations: 4 kB / 451 MB, free: 3.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.003128, allocations: 11.22 kB / 451 MB, free: 3.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.003195, allocations: 310.8 kB / 451.3 MB, free: 2.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-06/0.003198, allocations: 0 / 451.3 MB, free: 2.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.003202, allocations: 1.094 kB / 451.3 MB, free: 2.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/0.003221, allocations: 79.97 kB / 451.4 MB, free: 2.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.003237, allocations: 75.28 kB / 451.5 MB, free: 2.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.536e-05/0.003273, allocations: 34.09 kB / 451.5 MB, free: 2.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.003301, allocations: 87.27 kB / 451.6 MB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.003318, allocations: 75.28 kB / 451.7 MB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.043e-05/0.003359, allocations: 151.2 kB / 451.8 MB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.003383, allocations: 90.47 kB / 451.9 MB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.081e-05/0.003414, allocations: 150.6 kB / 452.1 MB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.003454, allocations: 82.12 kB / 452.1 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.00347, allocations: 80.16 kB / 452.2 MB, free: 1.953 MB / 426.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 (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 prepare postOptimizeDAE: time 7.827e-05/0.003548, allocations: 260.4 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.003582, allocations: 108.9 kB / 452.6 MB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.003616, allocations: 108 kB / 452.7 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/0.003653, allocations: 176.3 kB / 452.9 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-05/0.003693, allocations: 188.1 kB / 453 MB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-05/0.003733, allocations: 181.2 kB / 453.2 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.003849, allocations: 325.4 kB / 453.5 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.003872, allocations: 110.9 kB / 453.7 MB, free: 456 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.003895, allocations: 101 kB / 453.7 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.003924, allocations: 104.9 kB / 453.9 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.146e-05/0.003966, allocations: 185 kB / 454 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.004018, allocations: 180.2 kB / 454.2 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.296e-05/0.004061, allocations: 181.1 kB / 454.4 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.101e-05/0.004102, allocations: 181.3 kB / 454.6 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.004202, allocations: 312.5 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.00425, allocations: 184.8 kB / 455 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.354e-05/0.004293, allocations: 101 kB / 455.1 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.004338, allocations: 176.8 kB / 455.3 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.004366, allocations: 108.9 kB / 455.4 MB, free: 14.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.821e-05/0.004384, allocations: 14.03 kB / 455.4 MB, free: 14.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004384, allocations: 0 / 455.4 MB, free: 14.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.004522, allocations: 4.875 kB / 455.4 MB, free: 14.56 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 (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.0001005/0.004623, allocations: 153.4 kB / 455.6 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.647e-05/0.004659, allocations: 0.6562 kB / 455.6 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.004662, allocations: 0 / 455.6 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.004664, allocations: 0 / 455.6 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.004861, allocations: 466.9 kB / 456.1 MB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001627/0.005024, allocations: 170.5 kB / 456.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.005051, allocations: 52.36 kB / 456.3 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.643e-06/0.005052, allocations: 0.9844 kB / 456.3 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.005073, allocations: 47.38 kB / 456.3 MB, free: 13.63 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/0.005074, allocations: 1.312 kB / 456.3 MB, free: 13.63 MB / 442.7 MB Notification: Performance of Templates: time 0.001283/0.006357, allocations: 166.9 kB / 456.5 MB, free: 13.47 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.610076098702848]