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.002006/0.002006, 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.002444/0.002444, allocations: 192.1 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.98 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3779, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002088/0.38, allocations: 0.7205 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.3809, allocations: 0.8079 MB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.3809, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.479e-05/0.381, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.3811, allocations: 3.938 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3812, allocations: 19.97 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.3813, allocations: 27.86 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3814, allocations: 12 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.3815, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.3815, allocations: 11.92 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3815, allocations: 4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.3815, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.3816, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.3816, allocations: 15.92 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.848e-05/0.3817, allocations: 19.95 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3817, allocations: 4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3817, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3817, allocations: 0 / 1.069 GB, free: 9.199 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.0004788/0.3822, allocations: 339.7 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3822, allocations: 12.03 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3823, allocations: 0.9375 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3824, allocations: 164.4 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3824, allocations: 384 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3824, allocations: 4.375 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3826, allocations: 58.17 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3826, allocations: 192 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3826, allocations: 3.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3826, allocations: 3.938 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3828, allocations: 35.95 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.3832, allocations: 245 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3833, allocations: 46.42 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.3834, allocations: 16.91 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3834, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3835, allocations: 34.56 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3835, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.3838, allocations: 81.55 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3839, allocations: 55.41 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.384, allocations: 97.86 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.384, allocations: 29.69 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.384, allocations: 84.14 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3841, allocations: 7.844 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.3841, allocations: 17.84 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3842, allocations: 310.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.3843, allocations: 19.97 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.3844, allocations: 15.98 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3845, allocations: 44.89 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3846, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.3847, allocations: 65.59 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3848, allocations: 8 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3848, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3848, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.3849, allocations: 15.92 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3849, allocations: 0 / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.385, allocations: 8.031 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.385, allocations: 7.938 kB / 1.071 GB, free: 7.172 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.838e-05/0.3851, allocations: 115.5 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3851, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.3853, allocations: 72.78 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3854, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3854, allocations: 4.031 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3854, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.3855, allocations: 157.6 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3856, allocations: 3.984 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.3856, allocations: 8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3856, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3856, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3856, allocations: 3.938 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3856, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3859, allocations: 171.5 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.386, allocations: 85.03 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.386, allocations: 7.984 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.3861, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3861, allocations: 7.984 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3861, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.3862, allocations: 83.28 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3862, allocations: 4.031 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002185/0.3864, allocations: 7.938 kB / 1.072 GB, free: 6.355 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.0001904/0.3866, allocations: 95.25 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3868, allocations: 43.89 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3869, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.3869, allocations: 20.05 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3873, allocations: 9.188 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.3876, allocations: 112 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3879, allocations: 0.677 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.3879, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.3879, allocations: 7.5 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3879, allocations: 4 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.002388/0.3903, allocations: 372.5 kB / 1.073 GB, free: 4.973 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)