Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.203/2.203, allocations: 391.2 MB / 407 MB, free: 10.88 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.002056/0.002056, allocations: 203.4 kB / 499.1 MB, free: 4.691 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.518/1.518, allocations: 222.9 MB / 0.7948 GB, free: 15.81 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.0009876/0.0009876, allocations: 102.6 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 56.02 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3226, 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.BooleanExtractSignal): time 0.002639/0.3253, allocations: 0.7725 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3274, allocations: 1.277 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.3275, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.3277, allocations: 3.938 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.3277, allocations: 15.86 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.3286, allocations: 226.5 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3289, allocations: 219.6 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3291, allocations: 31.98 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3293, allocations: 95.86 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.3297, allocations: 99.64 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.035e-05/0.3297, allocations: 12 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3298, allocations: 23.98 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.3299, allocations: 27.92 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3301, allocations: 79.62 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.3304, allocations: 209.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3304, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3304, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3304, allocations: 0 / 1.221 GB, free: 114.2 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006543/0.3311, allocations: 0.4906 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.3312, allocations: 11.98 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.3313, allocations: 20.75 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.3319, allocations: 262.2 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.332, allocations: 12.38 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.332, allocations: 16.38 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3323, allocations: 135 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3323, allocations: 3.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3323, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3323, allocations: 3.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.3324, allocations: 55.89 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.3331, allocations: 0.6611 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.3332, allocations: 41.14 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.3332, allocations: 25.78 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.3333, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.3335, allocations: 96.94 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3335, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002679/0.3338, allocations: 105.5 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3338, allocations: 89.09 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.334, allocations: 172.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.334, allocations: 29.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.3341, allocations: 119.8 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.3341, allocations: 11.89 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3342, allocations: 61.67 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.3343, allocations: 318.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3344, allocations: 55.91 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3346, allocations: 110.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.3348, allocations: 174.1 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3348, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004658/0.3353, allocations: 264.6 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.3353, allocations: 67.39 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3354, allocations: 256 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3354, allocations: 8 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.471e-05/0.3354, allocations: 11.94 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3354, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.3357, allocations: 51.88 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.3358, allocations: 15.98 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001059/0.3359, allocations: 144.5 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.3359, allocations: 11.84 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.3359, allocations: 12.25 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.336, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.336, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.336, allocations: 4.359 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.3361, allocations: 201.5 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3361, allocations: 3.938 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.3361, allocations: 11.92 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.3361, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3362, allocations: 7.984 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3362, allocations: 4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3362, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3364, allocations: 0.6754 MB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.3365, allocations: 89 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3365, allocations: 8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.3365, allocations: 4.062 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.3365, allocations: 11.98 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.3366, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.844e-05/0.3366, allocations: 124.7 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3366, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003217/0.337, allocations: 35.84 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001472/0.3371, allocations: 107.3 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.3374, allocations: 238.6 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3375, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.3375, allocations: 23.92 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3377, allocations: 23.98 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.3382, allocations: 389.4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.3384, allocations: 0.716 MB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.3384, allocations: 12.88 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.3385, allocations: 11.44 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3385, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of Templates: time 0.004045/0.3425, allocations: 1.829 MB / 1.229 GB, free: 105.5 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1)