Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0008965/0.0008965, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009139/0.0009139, allocations: 173 kB / 23.03 MB, free: 1.543 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.8995/0.8995, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7373/0.7373, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.491e-05, allocations: 4.281 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001271/0.001295, allocations: 0.6503 MB / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.002067, allocations: 0.8618 MB / 0.5219 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.002099, allocations: 0 / 0.5219 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.002126, allocations: 7.938 kB / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.002188, allocations: 1.531 kB / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.002361, allocations: 11.94 kB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.002428, allocations: 24.48 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.00251, allocations: 4.484 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.002577, allocations: 23.92 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.002608, allocations: 5.016 kB / 0.5219 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.002621, allocations: 4 kB / 0.522 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.00266, allocations: 5.125 kB / 0.522 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.002673, allocations: 4 kB / 0.522 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.002691, allocations: 3.938 kB / 0.522 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.557e-05/0.002787, allocations: 32.52 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.002789, allocations: 0 / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00279, allocations: 1.375 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.002794, allocations: 0 / 0.522 GB, free: 0.5234 MB / 490.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.0003243/0.003118, allocations: 356.6 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.003154, allocations: 8.594 kB / 0.5223 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.003252, allocations: 8.891 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.003352, allocations: 113.3 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.003363, allocations: 4.359 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.003371, allocations: 1.625 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.003482, allocations: 54.91 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.00349, allocations: 192 / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.003498, allocations: 1.25 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.003506, allocations: 384 / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.003535, allocations: 13 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.003798, allocations: 247.8 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.003847, allocations: 27.81 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.003866, allocations: 11.75 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.003881, allocations: 0.7188 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.003902, allocations: 37.39 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.003903, allocations: 0.75 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.004038, allocations: 58.45 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.004066, allocations: 51.41 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.004128, allocations: 161.9 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.004138, allocations: 28.39 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.004176, allocations: 134.9 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.004191, allocations: 3.953 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.004218, allocations: 15.38 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.004323, allocations: 0.4884 MB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.004337, allocations: 0 / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.004349, allocations: 5.312 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.004377, allocations: 19.61 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.004379, allocations: 0 / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.895e-05/0.004428, allocations: 38.27 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.004441, allocations: 7.531 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004447, allocations: 3.938 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.004459, allocations: 0 / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.004525, allocations: 13.23 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004529, allocations: 0 / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.004544, allocations: 0 / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.004548, allocations: 0.5625 kB / 0.5238 GB, free: 14.44 MB / 0.4948 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 5.514e-05/0.004603, allocations: 157.9 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.004619, allocations: 4 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.004697, allocations: 52.47 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004698, allocations: 0.75 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.004701, allocations: 0 / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.004703, allocations: 1 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.487e-05/0.004788, allocations: 120.6 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.00479, allocations: 6.75 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.004812, allocations: 4 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004814, allocations: 0 / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.004819, allocations: 0 / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.004822, allocations: 7.922 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004823, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.47e-05/0.004908, allocations: 187.9 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.004914, allocations: 6.781 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.004923, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.004954, allocations: 11.92 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.00499, allocations: 3.984 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.004993, allocations: 3.938 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.005028, allocations: 131.2 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005028, allocations: 0 / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001349/0.005163, allocations: 5.219 kB / 0.5245 GB, free: 13.7 MB / 0.4948 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 7.612e-05/0.005239, allocations: 91.25 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.005313, allocations: 16.34 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.005315, allocations: 3.438 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.005333, allocations: 15.62 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.005514, allocations: 11.98 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.005758, allocations: 118.3 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.005793, allocations: 59.36 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.005807, allocations: 2.562 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.005831, allocations: 8.5 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.005832, allocations: 0 / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.002113/0.007945, allocations: 0.4928 MB / 0.5253 GB, free: 12.85 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3296121479943395]