Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 196.3 kB / 16.53 MB, free: 6.699 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 69.73 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3676, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002177/0.3698, allocations: 0.6536 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3709, allocations: 0.8178 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.3709, allocations: 4 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.371, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.371, allocations: 7.938 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.3712, allocations: 15.97 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.3713, allocations: 19.94 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3714, allocations: 11.97 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.139e-05/0.3715, allocations: 7.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.3715, allocations: 11.98 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3716, allocations: 7.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3716, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.3716, allocations: 4 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.3716, allocations: 7.938 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.642e-05/0.3717, allocations: 31.94 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3717, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3717, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3717, allocations: 0 / 1.07 GB, free: 8.805 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.000492/0.3722, allocations: 339.7 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3723, allocations: 12.03 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.3723, allocations: 0.9375 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3725, allocations: 164.3 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.3725, allocations: 4.375 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3725, allocations: 4.375 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3727, allocations: 50.23 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3727, allocations: 192 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3727, allocations: 7.875 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3727, allocations: 0 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.3729, allocations: 35.95 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.3733, allocations: 245 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3734, allocations: 42.44 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.3735, allocations: 24.89 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3735, allocations: 4 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3736, allocations: 34.56 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3736, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.374, allocations: 85.48 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.374, allocations: 51.41 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.3741, allocations: 97.86 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3741, allocations: 25.7 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.3742, allocations: 88.25 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.3742, allocations: 11.91 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.3742, allocations: 9.719 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3744, allocations: 310.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.3745, allocations: 27.92 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.3746, allocations: 15.97 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3747, allocations: 44.89 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3747, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.375, allocations: 73.53 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.375, allocations: 4 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.375, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.375, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.3751, allocations: 11.98 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3751, allocations: 4.031 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.3752, allocations: 4 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3752, allocations: 0 / 1.072 GB, free: 6.781 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.095e-05/0.3753, allocations: 110.4 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.3753, allocations: 7.984 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3755, allocations: 68.78 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.3756, allocations: 4.031 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3756, allocations: 3.938 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3756, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3757, allocations: 157.6 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3757, allocations: 3.938 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.3758, allocations: 11.98 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3758, allocations: 192 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3758, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.3761, allocations: 175.3 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.3761, allocations: 81.11 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3761, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.3762, allocations: 7.984 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3763, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3763, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.3763, allocations: 91.3 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.513e-06/0.3763, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002181/0.3766, allocations: 11.88 kB / 1.072 GB, free: 5.961 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.0001385/0.3767, allocations: 95.78 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.3769, allocations: 39.95 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3769, allocations: 64 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.377, allocations: 23.98 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3773, allocations: 3.938 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.3776, allocations: 114 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.378, allocations: 0.6806 MB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.378, allocations: 4.062 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3781, allocations: 11.44 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3781, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.002842/0.3809, allocations: 451 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1)