Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, 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.00216/0.00216, allocations: 191.8 kB / 16.13 MB, free: 6.711 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 68.23 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3426, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002083/0.3448, allocations: 0.7399 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3459, allocations: 0.7884 MB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.3459, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.346, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.346, allocations: 7.922 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.3462, allocations: 8 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.648e-05/0.3462, allocations: 23.92 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.3463, allocations: 4 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.541e-05/0.3464, allocations: 15.92 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.3464, allocations: 7.984 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3465, allocations: 4 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.3465, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.3465, allocations: 3.938 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.3465, allocations: 11.98 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.185e-05/0.3466, allocations: 19.91 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.3466, allocations: 8 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3466, allocations: 3.938 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3466, allocations: 0 / 1.069 GB, free: 9.27 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.0006286/0.3473, allocations: 335.7 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3473, allocations: 12.03 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.3474, allocations: 0.9375 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3475, allocations: 168.4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3475, allocations: 384 / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.3475, allocations: 4.375 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3477, allocations: 58.22 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3477, allocations: 192 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3477, allocations: 3.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.3477, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3479, allocations: 31.97 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.3482, allocations: 256.8 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3484, allocations: 38.5 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.3485, allocations: 16.91 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3485, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3485, allocations: 38.56 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3485, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003359/0.3489, allocations: 85.48 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3489, allocations: 55.41 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.349, allocations: 101.8 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.349, allocations: 25.7 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.3491, allocations: 80.14 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3491, allocations: 7.906 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3491, allocations: 17.84 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.3493, allocations: 314.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.3494, allocations: 15.98 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.3495, allocations: 15.98 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3497, allocations: 44.88 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3497, allocations: 3.938 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.3499, allocations: 69.55 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3499, allocations: 8 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3499, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3499, allocations: 3.984 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.35, allocations: 4 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.35, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.3501, allocations: 12.02 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3501, allocations: 4 kB / 1.071 GB, free: 7.242 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.476e-05/0.3502, allocations: 109.8 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.3502, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3505, allocations: 76.72 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3505, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3505, allocations: 4.031 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3505, allocations: 3.984 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3507, allocations: 157.6 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3508, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.3508, allocations: 11.98 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3508, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3508, allocations: 3.938 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3509, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3509, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.3512, allocations: 171.4 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.3512, allocations: 77.11 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3512, allocations: 7.938 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.3513, allocations: 3.984 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3514, allocations: 4 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3514, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.3514, allocations: 91.48 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3514, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002114/0.3516, allocations: 7.938 kB / 1.072 GB, free: 6.426 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.0001877/0.3518, allocations: 99.23 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3521, allocations: 35.97 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3521, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.3522, allocations: 24.03 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3526, allocations: 7.938 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.353, allocations: 112 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3533, allocations: 0.6731 MB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.3534, allocations: 3.984 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.3534, allocations: 11.5 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3534, allocations: 7.875 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of Templates: time 0.002771/0.3562, allocations: 371.5 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1)