Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 391.2 MB / 407 MB, free: 10.92 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.001358/0.001357, allocations: 191.5 kB / 499.1 MB, free: 4.684 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.497/1.497, allocations: 222.9 MB / 0.7948 GB, free: 15.85 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.001019/0.001019, allocations: 103 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 52.64 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3064, 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.BooleanExtractor): time 0.001881/0.3084, allocations: 1.073 MB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3099, allocations: 1.514 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.31, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/0.3101, allocations: 19.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.3101, allocations: 39.64 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008597/0.311, allocations: 427.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.3113, allocations: 467.7 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.3115, allocations: 127.7 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3116, allocations: 171.6 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3118, allocations: 159.4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.3118, allocations: 24 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.3119, allocations: 47.92 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.312, allocations: 55.77 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.3122, allocations: 175.2 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.3125, allocations: 0.4889 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3125, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.41e-07/0.3125, allocations: 4 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3125, allocations: 0 / 1.223 GB, free: 112.5 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006339/0.3132, allocations: 0.6812 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.3132, allocations: 11.98 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.3133, allocations: 40.56 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008295/0.3141, allocations: 364.1 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3142, allocations: 20.75 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.3142, allocations: 40.36 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.3145, allocations: 244.2 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3145, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.3146, allocations: 8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3146, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.3148, allocations: 143.3 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009388/0.3157, allocations: 0.7691 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3159, allocations: 186.5 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3161, allocations: 210.3 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.3161, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.3164, allocations: 254.7 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.3164, allocations: 0 / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.0005162/0.3169, allocations: 422.2 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.317, allocations: 114.8 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3172, allocations: 290.3 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.3172, allocations: 41.69 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.3173, allocations: 156.6 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.3174, allocations: 59.25 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.3175, allocations: 141.6 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.3176, allocations: 338.8 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.3179, allocations: 200.7 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.3182, allocations: 323.9 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.3186, allocations: 0.5336 MB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3187, allocations: 3.938 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008527/0.3195, allocations: 0.7088 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.3196, allocations: 130.8 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3196, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3196, allocations: 8.406 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.3197, allocations: 31.86 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3197, allocations: 4 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.3203, allocations: 135.3 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.3204, allocations: 67.92 kB / 1.229 GB, free: 105.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,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.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.0001552/0.3206, allocations: 185.7 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.3206, allocations: 27.72 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.321, allocations: 357.8 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.321, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.321, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.321, allocations: 3.938 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.3217, allocations: 0.7209 MB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3217, allocations: 0 / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.3217, allocations: 19.98 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3217, allocations: 3.938 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3218, allocations: 8 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3218, allocations: 3.938 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3218, allocations: 7.984 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.3224, allocations: 1.114 MB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.3224, allocations: 104.7 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3225, allocations: 4 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3226, allocations: 11.98 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.3226, allocations: 23.97 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.3226, allocations: 16 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001201/0.3228, allocations: 189.9 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3228, allocations: 0 / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004668/0.3233, allocations: 87.98 kB / 1.232 GB, free: 102.4 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 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.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 (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.00017/0.3234, allocations: 122 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006142/0.3241, allocations: 0.6652 MB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3241, allocations: 0 / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3242, allocations: 135.9 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3246, allocations: 73.2 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/0.3254, allocations: 0.7781 MB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.3256, allocations: 0.7651 MB / 1.234 GB, free: 99.78 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.3257, allocations: 70.84 kB / 1.235 GB, free: 99.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.3258, allocations: 35.42 kB / 1.235 GB, free: 99.68 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3258, allocations: 0 / 1.235 GB, free: 99.68 MB / 0.823 GB Notification: Performance of Templates: time 0.007646/0.3335, allocations: 4.924 MB / 1.239 GB, free: 94.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1)