Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001281, allocations: 198.7 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 0.7948 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 114.6 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009951/0.0009952, allocations: 50.23 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.278, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002367/0.2804, allocations: 1.374 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2822, allocations: 1.615 MB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2824, allocations: 4 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2825, allocations: 19.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.2826, allocations: 55.56 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.2836, allocations: 467.6 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.284, allocations: 0.5662 MB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.2844, allocations: 167 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2845, allocations: 211.4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2847, allocations: 211.1 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.2848, allocations: 32 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.2849, allocations: 43.98 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.285, allocations: 87.61 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.2852, allocations: 207 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.2857, allocations: 0.6386 MB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2857, allocations: 0 / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2857, allocations: 0 / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.872e-06/0.2857, allocations: 3.938 kB / 1.224 GB, free: 111.6 MB / 0.823 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.001035/0.2867, allocations: 0.8182 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2868, allocations: 11.98 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2869, allocations: 48.47 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.2882, allocations: 483.8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2882, allocations: 24.94 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.2883, allocations: 40.36 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.2888, allocations: 312.7 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2888, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2889, allocations: 19.98 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2889, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.2894, allocations: 250 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2908, allocations: 0.9471 MB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.2913, allocations: 359.2 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.2918, allocations: 367.4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2918, allocations: 7.859 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.2924, allocations: 349.5 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.2924, allocations: 0 / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.001225/0.2936, allocations: 0.6805 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2937, allocations: 118.8 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.2939, allocations: 292.5 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.2939, allocations: 41.7 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.294, allocations: 164.8 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/0.2941, allocations: 130.2 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.2943, allocations: 130.1 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.2944, allocations: 350.7 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.2949, allocations: 276.7 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.2954, allocations: 363.5 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008549/0.2963, allocations: 0.6385 MB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2963, allocations: 0 / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001284/0.2976, allocations: 0.8492 MB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.2977, allocations: 127.8 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2977, allocations: 4 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2977, allocations: 4.281 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.298, allocations: 83.88 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.298, allocations: 4 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.2987, allocations: 139.5 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.2988, allocations: 71.84 kB / 1.232 GB, free: 102.7 MB / 0.823 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 4 * 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.0002018/0.299, allocations: 185.4 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.2991, allocations: 35.53 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009237/0.3, allocations: 0.5465 MB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3, allocations: 4 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3, allocations: 3.938 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3001, allocations: 7.984 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3014, allocations: 1.041 MB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3015, allocations: 4 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.3017, allocations: 83.88 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3017, allocations: 3.938 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.3018, allocations: 8 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3018, allocations: 0 / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3018, allocations: 4 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.3032, allocations: 1.448 MB / 1.235 GB, free: 99.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.3032, allocations: 120.5 kB / 1.235 GB, free: 99.11 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.3033, allocations: 12 kB / 1.235 GB, free: 99.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3035, allocations: 27.97 kB / 1.235 GB, free: 99.07 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.3036, allocations: 32.39 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3036, allocations: 19.98 kB / 1.235 GB, free: 99.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000163/0.3038, allocations: 207.1 kB / 1.236 GB, free: 98.82 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.182e-06/0.3038, allocations: 0 / 1.236 GB, free: 98.82 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005744/0.3044, allocations: 107.8 kB / 1.236 GB, free: 98.71 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1,$cse2,$cse3,$cse4,$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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002062/0.3046, allocations: 129.7 kB / 1.236 GB, free: 98.58 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.3057, allocations: 0.8176 MB / 1.237 GB, free: 97.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3057, allocations: 0 / 1.237 GB, free: 97.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.3061, allocations: 250.4 kB / 1.237 GB, free: 97.47 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.3067, allocations: 88.97 kB / 1.237 GB, free: 97.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3078, allocations: 1.159 MB / 1.238 GB, free: 96.19 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.3081, allocations: 0.8212 MB / 1.239 GB, free: 95.34 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000226/0.3083, allocations: 103.2 kB / 1.239 GB, free: 95.24 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.3084, allocations: 47.36 kB / 1.239 GB, free: 95.19 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.3084, allocations: 0 / 1.239 GB, free: 95.19 MB / 0.823 GB Notification: Performance of Templates: time 0.008995/0.3174, allocations: 6.204 MB / 1.245 GB, free: 89.06 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)