Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001246, allocations: 192.1 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.36 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3879, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002743/0.3907, allocations: 0.9317 MB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.393, allocations: 1.338 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.3931, allocations: 3.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3933, allocations: 11.86 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.935e-05/0.3934, allocations: 27.78 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.3942, allocations: 230.7 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.3945, allocations: 283.4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3947, allocations: 69.42 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.3949, allocations: 111.7 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.3952, allocations: 115.6 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.3952, allocations: 12 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.3953, allocations: 23.98 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.3954, allocations: 47.78 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3955, allocations: 95.5 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.3959, allocations: 323.2 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3959, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3959, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3959, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008048/0.3967, allocations: 0.5449 MB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3968, allocations: 12.03 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.3969, allocations: 20.75 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.3976, allocations: 289.9 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3976, allocations: 12.38 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.3977, allocations: 24.36 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.398, allocations: 150.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.398, allocations: 7.938 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.398, allocations: 4 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.398, allocations: 4 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3981, allocations: 71.83 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.399, allocations: 0.7507 MB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3991, allocations: 61.14 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.3991, allocations: 29.7 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3992, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3994, allocations: 101.1 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3994, allocations: 0 / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003199/0.3997, allocations: 129.7 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.3998, allocations: 77.11 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4, allocations: 211.6 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.4, allocations: 33.7 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.4002, allocations: 147.8 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.4002, allocations: 11.81 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4003, allocations: 69.61 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4004, allocations: 326.8 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.4006, allocations: 67.91 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.4008, allocations: 116.9 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.401, allocations: 202.1 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4011, allocations: 4 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005072/0.4016, allocations: 292.8 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.4016, allocations: 71.39 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4016, allocations: 0 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4017, allocations: 7.984 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.4018, allocations: 11.94 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4018, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.4021, allocations: 59.97 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.4021, allocations: 19.98 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001757/0.4023, allocations: 152.5 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.4024, allocations: 15.81 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.4024, allocations: 16.92 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4024, allocations: 0 / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4024, allocations: 0 / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4024, allocations: 7.938 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.4027, allocations: 241.5 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4027, allocations: 0 / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.4027, allocations: 4 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4027, allocations: 0 / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.4027, allocations: 0 / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4027, allocations: 8 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4028, allocations: 0 / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.403, allocations: 145.6 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.403, allocations: 88.92 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.4031, allocations: 0 / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.4031, allocations: 0 / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.4032, allocations: 7.984 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4032, allocations: 8 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001315/0.4033, allocations: 141.5 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4033, allocations: 0 / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002927/0.4036, allocations: 47.83 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001952/0.4038, allocations: 109.8 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.4042, allocations: 258.6 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4042, allocations: 0 / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.4043, allocations: 31.98 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.4047, allocations: 44.56 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.4053, allocations: 354.8 kB / 1.076 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.4057, allocations: 0.7205 MB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.684e-05/0.4058, allocations: 25.55 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.4058, allocations: 15.44 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4058, allocations: 0 / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of Templates: time 0.006238/0.412, allocations: 2.289 MB / 1.079 GB, free: 14.18 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1)