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.001117/0.001117, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001377/0.001377, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.556/1.556, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.14/3.14, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 59.89 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3709, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003342/0.3743, allocations: 1.069 MB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.3766, allocations: 1.322 MB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.3767, allocations: 7.938 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.3769, allocations: 19.86 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.377, allocations: 27.78 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.3779, allocations: 249.1 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.3784, allocations: 395.3 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.3787, allocations: 77.34 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.3789, allocations: 159.5 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.3793, allocations: 151.5 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.3793, allocations: 40 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3794, allocations: 40 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.3795, allocations: 55.83 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3797, allocations: 139.3 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.3801, allocations: 383 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3801, allocations: 4 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3801, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3802, allocations: 0 / 1.072 GB, free: 6.723 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.0009424/0.3811, allocations: 0.6071 MB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3812, allocations: 8.031 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.3812, allocations: 28.66 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3823, allocations: 374.8 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.3823, allocations: 24.3 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.3824, allocations: 20.38 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.3829, allocations: 199.7 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3829, allocations: 7.875 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.3829, allocations: 7.984 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3829, allocations: 4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.3834, allocations: 135.8 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3846, allocations: 0.9109 MB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.385, allocations: 153 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3852, allocations: 84.3 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3852, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.3857, allocations: 167.5 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3857, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0008916/0.3866, allocations: 257.2 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/0.3868, allocations: 158.2 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.387, allocations: 225 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.387, allocations: 33.98 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3871, allocations: 152.1 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.3872, allocations: 39.53 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3873, allocations: 49.69 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3875, allocations: 334.8 kB / 1.076 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.3878, allocations: 99.92 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3882, allocations: 155.6 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.3888, allocations: 274.9 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3888, allocations: 4 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008432/0.3897, allocations: 373 kB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.3898, allocations: 59.41 kB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3898, allocations: 4 kB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3898, allocations: 11.92 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.39, allocations: 27.92 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.39, allocations: 11.98 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.3904, allocations: 67.89 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.3905, allocations: 19.98 kB / 1.077 GB, free: 1.25 MB / 0.8262 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.0001745/0.3906, allocations: 153.7 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.3907, allocations: 15.81 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.3907, allocations: 25.23 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3908, allocations: 8 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3908, allocations: 0 / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3908, allocations: 0 / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.3911, allocations: 269.3 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3911, allocations: 0 / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3912, allocations: 23.97 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.3912, allocations: 4 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3913, allocations: 0 / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3913, allocations: 7.938 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3913, allocations: 0 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.3919, allocations: 244.1 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.3919, allocations: 88.92 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.392, allocations: 7.984 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3921, allocations: 15.98 kB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.3922, allocations: 19.92 kB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3922, allocations: 7.984 kB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001432/0.3924, allocations: 168.4 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3924, allocations: 0 / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003119/0.3927, allocations: 51.83 kB / 1.078 GB, free: 52 kB / 0.8262 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.0002275/0.3929, allocations: 103.4 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007705/0.3937, allocations: 346.5 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3937, allocations: 0 / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.394, allocations: 75.88 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3943, allocations: 52.59 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.3951, allocations: 459.5 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3954, allocations: 0.7515 MB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.3956, allocations: 33.53 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.3956, allocations: 19.44 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3956, allocations: 0 / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.007191/0.4028, allocations: 2.869 MB / 1.082 GB, free: 11.31 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)