Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009658/0.009658, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 9.375 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4135, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001511/0.4151, allocations: 0.7188 MB / 1.075 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.4173, allocations: 1.361 MB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.4174, allocations: 0 / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.4175, allocations: 15.86 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.4177, allocations: 35.7 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008179/0.4185, allocations: 238.6 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.4189, allocations: 339.3 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.4191, allocations: 69.42 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.4193, allocations: 131.5 kB / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.4196, allocations: 131.5 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.4197, allocations: 12 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.4197, allocations: 23.98 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.4198, allocations: 47.78 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.42, allocations: 137.1 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.4204, allocations: 355 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4204, allocations: 7.922 kB / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4204, allocations: 0 / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4204, allocations: 0 / 1.078 GB, free: 3.941 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001034/0.4214, allocations: 0.5683 MB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4215, allocations: 8.031 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/0.4216, allocations: 28.66 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.4225, allocations: 398.8 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.4226, allocations: 16.38 kB / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.4226, allocations: 20.38 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.4231, allocations: 223.5 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4232, allocations: 3.938 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4232, allocations: 0 / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4232, allocations: 4 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.4237, allocations: 167.8 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.4249, allocations: 0.9225 MB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.4254, allocations: 165 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.4256, allocations: 92.3 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4257, allocations: 3.938 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/0.4261, allocations: 187.6 kB / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.4261, allocations: 0 / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0009525/0.4271, allocations: 293.4 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.4272, allocations: 158.2 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4274, allocations: 221 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.4275, allocations: 29.7 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4276, allocations: 160.1 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.4277, allocations: 27.56 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.4277, allocations: 29.73 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4279, allocations: 338.8 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.4283, allocations: 107.9 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.4287, allocations: 177.1 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.4293, allocations: 302.9 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4293, allocations: 0 / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009596/0.4303, allocations: 392.7 kB / 1.082 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.4304, allocations: 71.44 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4304, allocations: 0 / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4304, allocations: 4 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.4306, allocations: 31.97 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.4306, allocations: 11.92 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.4311, allocations: 99.77 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.4311, allocations: 15.98 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001634/0.4313, allocations: 153.7 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4314, allocations: 15.81 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.4314, allocations: 25.23 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.4314, allocations: 480 / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4315, allocations: 4 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4315, allocations: 4 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.4317, allocations: 265.3 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4318, allocations: 0 / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.4319, allocations: 35.91 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4319, allocations: 4 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4319, allocations: 3.984 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4319, allocations: 4 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.432, allocations: 0 / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.4326, allocations: 268.1 kB / 1.083 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.4327, allocations: 100.8 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4327, allocations: 3.938 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.4329, allocations: 27.97 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.4329, allocations: 19.97 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.433, allocations: 8 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002034/0.4332, allocations: 164.4 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4332, allocations: 4 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003124/0.4335, allocations: 47.94 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0002546/0.4338, allocations: 107.2 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008317/0.4346, allocations: 354.9 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4346, allocations: 4.125 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.4349, allocations: 91.81 kB / 1.084 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.4353, allocations: 46.14 kB / 1.084 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.4362, allocations: 460.2 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.4366, allocations: 0.744 MB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.4368, allocations: 37.52 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.4368, allocations: 19.44 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.244e-06/0.4368, allocations: 0 / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.007401/0.4442, allocations: 2.762 MB / 1.088 GB, free: 8.383 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)