Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.000866/0.000866, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001434/0.001434, allocations: 177 kB / 23.49 MB, free: 1.059 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.9816/0.9816, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.809/0.809, allocations: 154.6 MB / 414.9 MB, free: 0.7031 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 0 / 0.5204 GB, free: 2.434 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.799e-05, allocations: 5.156 kB / 0.5204 GB, free: 2.43 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001345/0.001373, allocations: 0.6871 MB / 0.5211 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.002181, allocations: 0.8564 MB / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.002218, allocations: 0 / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.002248, allocations: 0 / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.002312, allocations: 8.562 kB / 0.5219 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.889e-05/0.002371, allocations: 7.984 kB / 0.5219 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.002445, allocations: 49.66 kB / 0.522 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.002538, allocations: 4 kB / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.002617, allocations: 31.91 kB / 0.522 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.002655, allocations: 15.97 kB / 0.522 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.002676, allocations: 4 kB / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-06/0.002682, allocations: 1.719 kB / 0.522 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.0027, allocations: 11.94 kB / 0.522 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.002725, allocations: 15.98 kB / 0.5221 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.864e-05/0.002803, allocations: 27.84 kB / 0.5221 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002805, allocations: 1.375 kB / 0.5221 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002806, allocations: 3.938 kB / 0.5221 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00281, allocations: 0 / 0.5221 GB, free: 0.7227 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003711/0.003181, allocations: 373.1 kB / 0.5224 GB, free: 328 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.003218, allocations: 12.78 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.003254, allocations: 12.88 kB / 0.5225 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.664e-05/0.003341, allocations: 126 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.003351, allocations: 4.375 kB / 0.5226 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.00336, allocations: 384 / 0.5226 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.003489, allocations: 62.94 kB / 0.5227 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.003494, allocations: 1.531 kB / 0.5227 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.003503, allocations: 4.375 kB / 0.5227 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.00351, allocations: 384 / 0.5227 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.003544, allocations: 15.41 kB / 0.5227 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.003849, allocations: 255.9 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.09e-05/0.00393, allocations: 39.05 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.003957, allocations: 15.69 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.003965, allocations: 0 / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.003982, allocations: 33.39 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.003983, allocations: 0 / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003925/0.004376, allocations: 57.66 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.004402, allocations: 51.41 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.004472, allocations: 166.5 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.004481, allocations: 26.27 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.004526, allocations: 138.8 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.004545, allocations: 4.922 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.004577, allocations: 27.36 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.004688, allocations: 493.6 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.004707, allocations: 8 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.00472, allocations: 0 / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.004754, allocations: 23.61 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004756, allocations: 0.8438 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.102e-05/0.004817, allocations: 45.59 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.004836, allocations: 11.94 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00484, allocations: 2.438 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.004852, allocations: 3.984 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.004922, allocations: 8 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.004926, allocations: 0 / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.00495, allocations: 7.984 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.004955, allocations: 2.75 kB / 0.524 GB, free: 14.54 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 (3): * Single equations (assignments): 3 * 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.601e-05/0.005011, allocations: 160.6 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.005024, allocations: 0 / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.005046, allocations: 11.94 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.005048, allocations: 336 / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.005051, allocations: 3.938 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005053, allocations: 0 / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.977e-05/0.005143, allocations: 129.8 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005144, allocations: 0 / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.005173, allocations: 11.98 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005174, allocations: 0.9375 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.00518, allocations: 0 / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.005183, allocations: 3.938 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005184, allocations: 0.9375 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.005293, allocations: 191.9 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-06/0.0053, allocations: 8.594 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.00531, allocations: 0 / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.377e-05/0.005354, allocations: 13.05 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.005393, allocations: 11.98 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.005396, allocations: 0 / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.005436, allocations: 129.9 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.005436, allocations: 0 / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001363/0.005573, allocations: 8 kB / 0.5247 GB, free: 13.8 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 (3): * Single equations (assignments): 3 * 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.796e-05/0.005651, allocations: 93.75 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.267e-05/0.005733, allocations: 23.67 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005734, allocations: 3.125 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.005757, allocations: 11.69 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.005955, allocations: 19.98 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.006219, allocations: 142 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.006255, allocations: 60.88 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.006275, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.006303, allocations: 16.12 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of SimCode: time 6.02e-07/0.006304, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.002278/0.008582, allocations: 0.7329 MB / 0.5258 GB, free: 12.68 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8873219871893525]