Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001164/0.001164, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001365/0.001365, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.977/0.977, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.031/2.031, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.844e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002973/0.003002, allocations: 1.319 MB / 0.7765 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.005472, allocations: 1.619 MB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.005626, allocations: 7.938 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.005779, allocations: 29.25 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.005974, allocations: 92.16 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.007146, allocations: 494.9 kB / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006696/0.007816, allocations: 0.6519 MB / 0.7793 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.008043, allocations: 119.9 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.008426, allocations: 399.2 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.008631, allocations: 167.6 kB / 0.78 GB, free: 500 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.008688, allocations: 52 kB / 0.78 GB, free: 448 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.008806, allocations: 63.92 kB / 0.7801 GB, free: 384 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.008869, allocations: 67.77 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.008992, allocations: 167.6 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.009379, allocations: 439.1 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009384, allocations: 3.656 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.009385, allocations: 0 / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.009391, allocations: 0 / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007196/0.01011, allocations: 0.8151 MB / 0.7815 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01015, allocations: 9.344 kB / 0.7815 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.01023, allocations: 64.88 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.01051, allocations: 253.6 kB / 0.7818 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.01054, allocations: 28.88 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.01059, allocations: 43.12 kB / 0.7819 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.01089, allocations: 353.7 kB / 0.7822 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.0109, allocations: 192 / 0.7822 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.01092, allocations: 12.38 kB / 0.7822 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.01092, allocations: 8.375 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.01106, allocations: 217.2 kB / 0.7825 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.01176, allocations: 0.5072 MB / 0.783 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.01198, allocations: 282.9 kB / 0.7832 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.01211, allocations: 242.4 kB / 0.7835 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.01213, allocations: 8 kB / 0.7835 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.01235, allocations: 324.9 kB / 0.7838 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.01235, allocations: 0 / 0.7838 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0004461/0.01279, allocations: 0.6892 MB / 0.7844 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.01286, allocations: 195.9 kB / 0.7846 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.01301, allocations: 262.9 kB / 0.7849 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.01305, allocations: 45.7 kB / 0.7849 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.01313, allocations: 150.3 kB / 0.7851 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.0132, allocations: 134.8 kB / 0.7852 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.01333, allocations: 126.1 kB / 0.7853 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.01342, allocations: 351.9 kB / 0.7857 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.01364, allocations: 368.2 kB / 0.786 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.0139, allocations: 461.5 kB / 0.7864 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.0143, allocations: 0.6666 MB / 0.7871 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.0143, allocations: 0 / 0.7871 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005676/0.01487, allocations: 0.8808 MB / 0.788 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.015, allocations: 271.3 kB / 0.7882 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.01501, allocations: 8.969 kB / 0.7882 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01503, allocations: 4 kB / 0.7882 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.0152, allocations: 68.48 kB / 0.7883 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01521, allocations: 4 kB / 0.7883 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.01549, allocations: 110.3 kB / 0.7884 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.01558, allocations: 59.94 kB / 0.7885 GB, free: 6.891 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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 0.0002361/0.01582, allocations: 289 kB / 0.7887 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.01587, allocations: 43.95 kB / 0.7888 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.01593, allocations: 43.42 kB / 0.7888 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01593, allocations: 4.656 kB / 0.7888 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01594, allocations: 3.938 kB / 0.7888 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.01595, allocations: 0.75 kB / 0.7888 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007778/0.01672, allocations: 0.8584 MB / 0.7897 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01673, allocations: 0 / 0.7897 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.01687, allocations: 63.91 kB / 0.7897 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.01688, allocations: 3.938 kB / 0.7897 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.0169, allocations: 17.02 kB / 0.7897 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.0169, allocations: 7.984 kB / 0.7898 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01691, allocations: 0 / 0.7898 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.01728, allocations: 0.5973 MB / 0.7903 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.01732, allocations: 43.58 kB / 0.7904 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.01735, allocations: 15.98 kB / 0.7904 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.01744, allocations: 15.98 kB / 0.7904 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.01751, allocations: 36.75 kB / 0.7904 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.01756, allocations: 43.94 kB / 0.7905 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.01763, allocations: 93.94 kB / 0.7906 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01763, allocations: 0 / 0.7906 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002756/0.01791, allocations: 111.9 kB / 0.7907 GB, free: 4.418 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0001605/0.01807, allocations: 101.3 kB / 0.7908 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006641/0.01873, allocations: 1.176 MB / 0.7919 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.01874, allocations: 4 kB / 0.7919 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.01897, allocations: 0.5099 MB / 0.7924 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.01929, allocations: 97.89 kB / 0.7925 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.02011, allocations: 0.8175 MB / 0.7933 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.781e-05/0.02018, allocations: 101.1 kB / 0.7934 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.02028, allocations: 48.14 kB / 0.7935 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.02058, allocations: 189.2 kB / 0.7936 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of SimCode: time 1.473e-06/0.02059, allocations: 0 / 0.7936 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.01016/0.03074, allocations: 7.323 MB / 0.8008 GB, free: 9.977 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2509921891614795]