Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009669, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.783/1.783, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006934/0.0006938, allocations: 12 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6863, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002019/0.6883, allocations: 1.319 MB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005944/0.689, allocations: 260.1 kB / 0.7295 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.689, allocations: 3.938 kB / 0.7295 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.788e-05/0.6891, allocations: 11.92 kB / 0.7295 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.6892, allocations: 35.88 kB / 0.7296 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.6895, allocations: 47.94 kB / 0.7296 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.6897, allocations: 135.7 kB / 0.7297 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.6899, allocations: 45.73 kB / 0.7298 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.69, allocations: 83.72 kB / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.6902, allocations: 107.6 kB / 0.73 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.6902, allocations: 8 kB / 0.73 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.406e-05/0.6902, allocations: 12 kB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.6903, allocations: 47.89 kB / 0.73 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.6904, allocations: 65.56 kB / 0.7301 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.6906, allocations: 177.5 kB / 0.7303 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.6906, allocations: 0 / 0.7303 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6906, allocations: 0 / 0.7303 GB, free: 9.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.6907, allocations: 0 / 0.7303 GB, free: 9.023 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001439/0.6921, allocations: 0.5417 MB / 0.7308 GB, free: 8.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/0.6922, allocations: 12.03 kB / 0.7308 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.6923, allocations: 27.72 kB / 0.7308 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.6926, allocations: 230.6 kB / 0.731 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.6927, allocations: 16 kB / 0.7311 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.6927, allocations: 23.98 kB / 0.7311 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.6935, allocations: 289.4 kB / 0.7314 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6936, allocations: 4 kB / 0.7314 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.6936, allocations: 15.97 kB / 0.7314 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.6936, allocations: 4 kB / 0.7314 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.6946, allocations: 355.4 kB / 0.7317 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.6963, allocations: 0.691 MB / 0.7324 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.6971, allocations: 318.3 kB / 0.7327 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.6972, allocations: 4 kB / 0.7327 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007127/0.6979, allocations: 318.2 kB / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.6979, allocations: 0 / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001879/0.6998, allocations: 0.6827 MB / 0.7337 GB, free: 5.352 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.6999, allocations: 55.41 kB / 0.7337 GB, free: 5.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.7001, allocations: 190.9 kB / 0.7339 GB, free: 5.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.7002, allocations: 41.62 kB / 0.734 GB, free: 5.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.7003, allocations: 124.5 kB / 0.7341 GB, free: 4.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.7004, allocations: 71.09 kB / 0.7341 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.7004, allocations: 4 kB / 0.7341 GB, free: 4.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7005, allocations: 338.8 kB / 0.7345 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.7011, allocations: 191.8 kB / 0.7346 GB, free: 4.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.7016, allocations: 200.9 kB / 0.7348 GB, free: 4.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.7022, allocations: 183.7 kB / 0.735 GB, free: 3.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7022, allocations: 0 / 0.735 GB, free: 3.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001109/0.7033, allocations: 465 kB / 0.7355 GB, free: 3.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7033, allocations: 12 kB / 0.7355 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7033, allocations: 0 / 0.7355 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.7034, allocations: 0 / 0.7355 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.7038, allocations: 87.86 kB / 0.7356 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.7038, allocations: 8 kB / 0.7356 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.7042, allocations: 67.78 kB / 0.7356 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.7042, allocations: 8 kB / 0.7356 GB, free: 3.301 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.7044, allocations: 163.5 kB / 0.7358 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.7045, allocations: 15.81 kB / 0.7358 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.7045, allocations: 22.56 kB / 0.7358 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7046, allocations: 4 kB / 0.7358 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7046, allocations: 3.984 kB / 0.7358 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7046, allocations: 0 / 0.7358 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.7061, allocations: 0.8768 MB / 0.7367 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7061, allocations: 0 / 0.7367 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.7064, allocations: 63.94 kB / 0.7368 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7064, allocations: 0 / 0.7368 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.7064, allocations: 8 kB / 0.7368 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7064, allocations: 0 / 0.7368 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.7064, allocations: 3.984 kB / 0.7368 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.7078, allocations: 0.6015 MB / 0.7374 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.7079, allocations: 100.8 kB / 0.7374 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.708, allocations: 11.92 kB / 0.7375 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.7083, allocations: 59.88 kB / 0.7375 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.7084, allocations: 43.94 kB / 0.7376 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.7085, allocations: 15.98 kB / 0.7376 GB, free: 1.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.781e-05/0.7086, allocations: 136 kB / 0.7377 GB, free: 1.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7086, allocations: 0 / 0.7377 GB, free: 1.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002788/0.7089, allocations: 52 kB / 0.7378 GB, free: 1.035 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.709, allocations: 118.9 kB / 0.7379 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.7102, allocations: 455.7 kB / 0.7383 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7102, allocations: 0 / 0.7383 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.7108, allocations: 235.8 kB / 0.7385 GB, free: 236 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.7112, allocations: 39.22 kB / 0.7386 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000979/0.7122, allocations: 492.7 kB / 0.739 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.7125, allocations: 0.7481 MB / 0.7398 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.7126, allocations: 37.92 kB / 0.7398 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.7127, allocations: 19.44 kB / 0.7398 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.7127, allocations: 0 / 0.7398 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.005737/0.7185, allocations: 2.777 MB / 0.7425 GB, free: 12.09 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) Environment - environmentSimulation: