Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001907/0.001907, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.484/1.484, allocations: 222.9 MB / 239.8 MB, free: 4.598 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: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.77 kB / 0.9114 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3576, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001994/0.3596, allocations: 0.7233 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000862/0.3605, allocations: 0.8196 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.3605, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.3606, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.3606, allocations: 3.938 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.3608, allocations: 12 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.101e-05/0.3609, allocations: 23.86 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.361, allocations: 8 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.361, allocations: 7.984 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.3611, allocations: 11.92 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3611, allocations: 11.94 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.3611, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.3611, allocations: 3.984 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.3612, allocations: 11.94 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.103e-05/0.3613, allocations: 15.97 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3613, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.22e-07/0.3613, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.3613, allocations: 0 / 1.069 GB, free: 9.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004693/0.3617, allocations: 335.7 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3618, allocations: 19.97 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.3618, allocations: 0.9375 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3619, allocations: 164.4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.362, allocations: 384 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.362, allocations: 4.375 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3622, allocations: 50.19 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3622, allocations: 192 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3622, allocations: 7.922 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3622, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3624, allocations: 35.97 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.3627, allocations: 240.9 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3629, allocations: 46.47 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.363, allocations: 24.91 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.363, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.363, allocations: 34.56 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.363, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.3634, allocations: 77.55 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3634, allocations: 55.53 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.3635, allocations: 109.8 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3635, allocations: 29.64 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.3636, allocations: 84.14 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3636, allocations: 7.891 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3636, allocations: 13.72 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3638, allocations: 318.8 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.3638, allocations: 11.98 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.3639, allocations: 19.98 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3641, allocations: 40.83 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3641, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.3643, allocations: 65.59 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3643, allocations: 12.09 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3643, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3643, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.3644, allocations: 11.92 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3645, allocations: 3.938 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.3645, allocations: 7.984 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3645, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.692e-05/0.3646, allocations: 114.4 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.3646, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.3649, allocations: 76.78 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3649, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3649, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3649, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.365, allocations: 161.6 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.365, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.3651, allocations: 8 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.3651, allocations: 4.016 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3652, allocations: 11.94 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3652, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3652, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3654, allocations: 167.4 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.3655, allocations: 77.11 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3655, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.3656, allocations: 8.016 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.3656, allocations: 4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.3656, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.3656, allocations: 83.28 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3656, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002146/0.3659, allocations: 7.938 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000152/0.366, allocations: 99.23 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3662, allocations: 43.91 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3662, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.3663, allocations: 15.98 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3666, allocations: 11.92 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.367, allocations: 116.2 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3673, allocations: 0.6731 MB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.3673, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.3673, allocations: 7.438 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3673, allocations: 0 / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of Templates: time 0.008483/0.3758, allocations: 373.3 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1)