Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00131/0.00131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001385/0.001385, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.45 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3555, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002192/0.3578, allocations: 0.7244 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3588, allocations: 0.8118 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.3589, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.3589, allocations: 3.938 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.359, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.3592, allocations: 15.98 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.3592, allocations: 19.94 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3594, allocations: 7.984 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.3594, allocations: 15.94 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.3595, allocations: 15.97 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3595, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.3595, allocations: 7.938 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.3596, allocations: 0 / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.3596, allocations: 7.938 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.3597, allocations: 19.95 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3597, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3597, allocations: 4 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.3597, allocations: 0 / 1.069 GB, free: 9.121 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.0004563/0.3602, allocations: 341.6 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3602, allocations: 8.031 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.3602, allocations: 8.875 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3604, allocations: 160.4 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3604, allocations: 384 / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.3604, allocations: 4.359 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3606, allocations: 50.23 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3606, allocations: 192 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3606, allocations: 3.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3606, allocations: 11.94 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3608, allocations: 31.95 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.3612, allocations: 248.9 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3613, allocations: 42.44 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.3614, allocations: 32.89 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3614, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3615, allocations: 30.56 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.3615, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.00035/0.3618, allocations: 89.58 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.3619, allocations: 55.44 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.362, allocations: 97.86 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.362, allocations: 29.7 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.3621, allocations: 84.12 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3621, allocations: 7.891 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3621, allocations: 17.72 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3622, allocations: 310.8 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.3623, allocations: 15.98 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.3624, allocations: 23.97 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3626, allocations: 32.83 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3626, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.3628, allocations: 77.59 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3628, allocations: 4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3628, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3628, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.3629, allocations: 11.98 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.363, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.363, allocations: 4 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.363, allocations: 0 / 1.071 GB, free: 7.098 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 8.829e-05/0.3631, allocations: 121.8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3631, allocations: 3.984 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.3634, allocations: 68.72 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3634, allocations: 4 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3634, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3634, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3636, allocations: 161.6 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3636, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.3636, allocations: 15.95 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3636, allocations: 4 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3637, allocations: 0 / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3637, allocations: 0 / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3637, allocations: 0 / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.3639, allocations: 163.4 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.364, allocations: 81.14 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.364, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.3641, allocations: 11.98 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3641, allocations: 3.938 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3641, allocations: 12.12 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.3642, allocations: 83.25 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3642, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002172/0.3644, allocations: 3.938 kB / 1.072 GB, free: 6.27 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.0001649/0.3646, allocations: 104.4 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3648, allocations: 43.95 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3648, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3649, allocations: 15.98 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3652, allocations: 7.938 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.3655, allocations: 118.1 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3658, allocations: 0.6768 MB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.3658, allocations: 4 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.3659, allocations: 7.438 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3659, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of Templates: time 0.002439/0.3683, allocations: 381.7 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1)