Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, 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.002061/0.002061, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.514/1.514, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.25 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3557, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002248/0.358, allocations: 0.7321 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.359, allocations: 0.8079 MB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.3591, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.3591, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.266e-05/0.3592, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.3593, allocations: 15.92 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.3594, allocations: 23.94 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3595, allocations: 11.98 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.3596, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.3597, allocations: 15.92 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3597, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.3597, allocations: 7.938 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3597, allocations: 3.984 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.3598, allocations: 11.94 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.097e-05/0.3598, allocations: 15.97 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3599, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3599, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3599, allocations: 0 / 1.069 GB, free: 9.137 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.000537/0.3604, allocations: 337.6 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3605, allocations: 16.03 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.3605, allocations: 8.859 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3606, allocations: 160.4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3607, allocations: 4.375 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.3607, allocations: 4.375 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3609, allocations: 50.23 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3609, allocations: 192 / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3609, allocations: 3.938 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.3609, allocations: 4 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3611, allocations: 39.91 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3615, allocations: 245 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3616, allocations: 38.5 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.3617, allocations: 20.91 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3617, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3617, allocations: 38.55 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3617, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000341/0.3621, allocations: 81.5 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3622, allocations: 59.39 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.3622, allocations: 102 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3623, allocations: 25.7 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.3623, allocations: 80.14 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.3623, allocations: 7.906 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.3624, allocations: 17.7 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3625, allocations: 314.8 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.3626, allocations: 19.98 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.3627, allocations: 15.98 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3628, allocations: 44.75 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3628, allocations: 0 / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.363, allocations: 65.61 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.363, allocations: 12.08 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3631, allocations: 4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3631, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.3632, allocations: 4 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3632, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.3632, allocations: 7.984 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3632, allocations: 4 kB / 1.071 GB, free: 7.113 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 7.005e-05/0.3633, allocations: 109.8 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.3633, allocations: 3.938 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3636, allocations: 80.72 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3636, allocations: 3.984 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3636, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3636, allocations: 192 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3638, allocations: 161.6 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3638, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.3639, allocations: 11.98 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3639, allocations: 3.984 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3639, allocations: 4.031 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3639, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3639, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3641, allocations: 171.3 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.3642, allocations: 77.11 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3642, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.3643, allocations: 8.016 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3643, allocations: 8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3644, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.3644, allocations: 87.27 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3644, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000215/0.3646, allocations: 7.938 kB / 1.072 GB, free: 6.285 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.0001741/0.3648, allocations: 95.25 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.365, allocations: 43.97 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.365, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.3651, allocations: 27.91 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3654, allocations: 5.766 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3658, allocations: 118.1 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3661, allocations: 0.6768 MB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.3661, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.3662, allocations: 7.438 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3662, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.002601/0.3688, allocations: 386 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1)