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.0008064/0.0008064, allocations: 81.95 kB / 19.87 MB, free: 4.625 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.0008887/0.0008887, allocations: 174 kB / 23.28 MB, free: 1.223 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.8793/0.8793, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7171/0.7171, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.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 2.014e-06/2.014e-06, allocations: 0 / 0.5208 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.401e-05, allocations: 5.094 kB / 0.5208 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001094/0.001108, allocations: 0.5829 MB / 0.5214 GB, free: 204 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 3.825e-05/0.001146, allocations: 0.9062 kB / 0.5214 GB, free: 204 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.001175, allocations: 4 kB / 0.5214 GB, free: 200 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.0012, allocations: 3.938 kB / 0.5214 GB, free: 196 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.001227, allocations: 1.484 kB / 0.5214 GB, free: 196 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.832e-05/0.001255, allocations: 1.031 kB / 0.5214 GB, free: 196 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.001303, allocations: 4 kB / 0.5214 GB, free: 192 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.00134, allocations: 0.7344 kB / 0.5214 GB, free: 192 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.001371, allocations: 9.078 kB / 0.5214 GB, free: 184 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.29e-05/0.001394, allocations: 1.312 kB / 0.5214 GB, free: 184 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.001409, allocations: 0 / 0.5214 GB, free: 184 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-06/0.001413, allocations: 0.625 kB / 0.5214 GB, free: 184 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.001424, allocations: 1.375 kB / 0.5214 GB, free: 184 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.001439, allocations: 0 / 0.5214 GB, free: 184 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 4.474e-05/0.001484, allocations: 0.6562 kB / 0.5214 GB, free: 184 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.001486, allocations: 4 kB / 0.5214 GB, free: 180 kB / 442.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.001487, allocations: 0.5625 kB / 0.5214 GB, free: 180 kB / 442.7 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.001489, allocations: 0 / 0.5214 GB, free: 180 kB / 442.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.0002037/0.001693, allocations: 345 kB / 0.5217 GB, free: 15.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.001723, allocations: 10.62 kB / 0.5218 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.733e-05/0.00174, allocations: 4.922 kB / 0.5218 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.856e-05/0.001798, allocations: 108.6 kB / 0.5219 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.001806, allocations: 1.219 kB / 0.5219 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-06/0.001811, allocations: 384 / 0.5219 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.708e-05/0.001858, allocations: 31.36 kB / 0.5219 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.001863, allocations: 4.188 kB / 0.5219 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-06/0.001868, allocations: 384 / 0.5219 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.001872, allocations: 1.125 kB / 0.5219 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-06/0.001878, allocations: 3.938 kB / 0.5219 GB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.002071, allocations: 455.5 kB / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.002138, allocations: 273.4 kB / 0.5226 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.002164, allocations: 128.4 kB / 0.5227 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.002185, allocations: 119.2 kB / 0.5228 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.002219, allocations: 153.5 kB / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.00222, allocations: 0 / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 4.04e-05/0.00226, allocations: 36.33 kB / 0.523 GB, free: 14.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.002299, allocations: 170.6 kB / 0.5232 GB, free: 14.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.002353, allocations: 153.9 kB / 0.5233 GB, free: 14.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.00236, allocations: 26.47 kB / 0.5233 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.002391, allocations: 134.9 kB / 0.5235 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-07/0.002392, allocations: 0 / 0.5235 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.002408, allocations: 19.36 kB / 0.5235 GB, free: 13.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.002497, allocations: 493.5 kB / 0.524 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-06/0.002499, allocations: 0 / 0.524 GB, free: 13.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.002503, allocations: 0 / 0.524 GB, free: 13.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.002525, allocations: 124.5 kB / 0.5241 GB, free: 13.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.002547, allocations: 119.2 kB / 0.5242 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.83e-05/0.002575, allocations: 26.73 kB / 0.5242 GB, free: 13.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.002612, allocations: 127.2 kB / 0.5243 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/0.002645, allocations: 127.1 kB / 0.5245 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.44e-05/0.00271, allocations: 243.5 kB / 0.5247 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.709e-05/0.002737, allocations: 131.2 kB / 0.5248 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.224e-05/0.002779, allocations: 243.3 kB / 0.5251 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.002822, allocations: 119.8 kB / 0.5252 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.002844, allocations: 124.1 kB / 0.5253 GB, free: 12.02 MB / 458.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 8.735e-05/0.002931, allocations: 395 kB / 0.5257 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.002967, allocations: 146.7 kB / 0.5258 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.003008, allocations: 159.8 kB / 0.526 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-05/0.003055, allocations: 272 kB / 0.5262 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-05/0.003102, allocations: 264.1 kB / 0.5265 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.824e-05/0.00315, allocations: 275.8 kB / 0.5267 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.003298, allocations: 477.7 kB / 0.5272 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/0.003326, allocations: 156.8 kB / 0.5273 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.003354, allocations: 152.9 kB / 0.5275 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.826e-05/0.003402, allocations: 264.8 kB / 0.5277 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.003451, allocations: 272 kB / 0.528 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-05/0.003499, allocations: 269.3 kB / 0.5283 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.665e-05/0.003546, allocations: 268 kB / 0.5285 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.912e-05/0.003645, allocations: 451.9 kB / 0.5289 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.003675, allocations: 150.3 kB / 0.5291 GB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.003726, allocations: 264.1 kB / 0.5293 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.003775, allocations: 156.8 kB / 0.5295 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.003829, allocations: 268.1 kB / 0.5297 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.00387, allocations: 154.1 kB / 0.5299 GB, free: 7.125 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.003908, allocations: 119.2 kB / 0.53 GB, free: 7.008 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.003908, allocations: 2.75 kB / 0.53 GB, free: 7.008 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.004051, allocations: 4 kB / 0.53 GB, free: 7.004 MB / 458.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 7.701e-05/0.004128, allocations: 210.4 kB / 0.5302 GB, free: 6.785 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 2.632e-05/0.004154, allocations: 0 / 0.5302 GB, free: 6.785 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004156, allocations: 0 / 0.5302 GB, free: 6.785 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.004157, allocations: 6.656 kB / 0.5302 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.004399, allocations: 0.7055 MB / 0.5309 GB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001465/0.004546, allocations: 213 kB / 0.5311 GB, free: 5.836 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.227e-05/0.004568, allocations: 55.3 kB / 0.5312 GB, free: 5.762 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.453e-06/0.004569, allocations: 0 / 0.5312 GB, free: 5.762 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.00459, allocations: 66.2 kB / 0.5312 GB, free: 5.695 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00459, allocations: 0 / 0.5312 GB, free: 5.695 MB / 458.7 MB Notification: Performance of Templates: time 0.001084/0.005674, allocations: 174.4 kB / 0.5314 GB, free: 5.531 MB / 458.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.0790563612245023]