Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.237/2.237, 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.001564/0.001565, allocations: 192.8 kB / 499.1 MB, free: 4.609 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.5/1.5, allocations: 222.9 MB / 0.7948 GB, free: 15.83 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.001069/0.001069, allocations: 117.7 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 51.03 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2783, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00213/0.2804, allocations: 1.196 MB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.282, allocations: 1.569 MB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.2821, allocations: 11.88 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2823, allocations: 19.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.2824, allocations: 43.62 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.2833, allocations: 452.6 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.2836, allocations: 0.5074 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.2839, allocations: 144.4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.284, allocations: 199.4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2842, allocations: 175.3 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.2843, allocations: 32 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.2844, allocations: 43.97 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.2844, allocations: 67.72 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2846, allocations: 195.1 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.285, allocations: 0.5861 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.285, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.122e-06/0.285, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.285, allocations: 0 / 1.223 GB, free: 112 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007545/0.2858, allocations: 0.7395 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2858, allocations: 11.98 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.439e-05/0.2859, allocations: 48.55 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008756/0.2868, allocations: 407.8 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.2868, allocations: 24.81 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.2869, allocations: 36.36 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2872, allocations: 255.2 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2872, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.2873, allocations: 12 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2873, allocations: 8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.2875, allocations: 157.6 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.2885, allocations: 0.8568 MB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.2887, allocations: 214.8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2889, allocations: 212.6 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.289, allocations: 11.94 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.2892, allocations: 238.4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 1.362e-06/0.2892, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.0005735/0.2898, allocations: 438.9 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.2899, allocations: 122.8 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.2901, allocations: 328.2 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.2902, allocations: 37.7 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2903, allocations: 172.6 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.2903, allocations: 59.25 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.2905, allocations: 146 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.2906, allocations: 346.7 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.2909, allocations: 208.7 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.2912, allocations: 320.7 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.2917, allocations: 0.5414 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2917, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008659/0.2926, allocations: 0.7322 MB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.2926, allocations: 126.8 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2927, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2927, allocations: 11.94 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.2929, allocations: 59.84 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2929, allocations: 8 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.2934, allocations: 135.8 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.2935, allocations: 63.92 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001515/0.2937, allocations: 193.7 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.2937, allocations: 31.62 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.2942, allocations: 366.7 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2942, allocations: 4 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2942, allocations: 4 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2942, allocations: 3.984 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.2949, allocations: 0.7521 MB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2949, allocations: 4 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.295, allocations: 39.92 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2951, allocations: 4 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2951, allocations: 7.984 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.2951, allocations: 4 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2951, allocations: 0 / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.2958, allocations: 1.145 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.2959, allocations: 112.7 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2959, allocations: 11.94 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.296, allocations: 11.98 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.2961, allocations: 23.91 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2961, allocations: 11.94 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001571/0.2963, allocations: 219.1 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2963, allocations: 0 / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004657/0.2968, allocations: 91.89 kB / 1.233 GB, free: 101.3 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * 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.0001851/0.2969, allocations: 130 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000667/0.2976, allocations: 0.6769 MB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2976, allocations: 0.8125 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.2978, allocations: 147.8 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2983, allocations: 78.36 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.2991, allocations: 0.8453 MB / 1.235 GB, free: 99.39 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2993, allocations: 0.785 MB / 1.236 GB, free: 98.57 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00015/0.2995, allocations: 71.23 kB / 1.236 GB, free: 98.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.2996, allocations: 39.42 kB / 1.236 GB, free: 98.46 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.2996, allocations: 0 / 1.236 GB, free: 98.46 MB / 0.823 GB Notification: Performance of Templates: time 0.0079/0.3075, allocations: 5.43 MB / 1.241 GB, free: 93.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1)