Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.001559, allocations: 108 kB / 15.61 MB, free: 152 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.001681/0.001681, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 72.27 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3107, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002586/0.3134, allocations: 0.6116 MB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3145, allocations: 0.8049 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.3145, allocations: 0 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.3146, allocations: 0 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.3147, allocations: 11.91 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.3148, allocations: 8 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.3149, allocations: 23.86 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.315, allocations: 0 / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.315, allocations: 12 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.3151, allocations: 7.984 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3151, allocations: 0 / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.3152, allocations: 4 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.3152, allocations: 11.92 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.3152, allocations: 3.938 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.791e-05/0.3153, allocations: 23.84 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3153, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3153, allocations: 4 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3153, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004236/0.3158, allocations: 331.7 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3158, allocations: 8.031 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3158, allocations: 4.938 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.316, allocations: 164.4 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.316, allocations: 384 / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.316, allocations: 4.375 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3161, allocations: 34.25 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3162, allocations: 4.188 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3162, allocations: 3.938 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3162, allocations: 4 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.3163, allocations: 15.98 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.3164, allocations: 161.5 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.519e-05/0.3165, allocations: 22.56 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.3165, allocations: 8.922 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.3166, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.3166, allocations: 34.56 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3166, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002152/0.3168, allocations: 61.55 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3169, allocations: 55.34 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.317, allocations: 105.8 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.317, allocations: 25.7 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.317, allocations: 88.27 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.3171, allocations: 4 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3171, allocations: 9.719 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3172, allocations: 310.8 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.3173, allocations: 11.98 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.3173, allocations: 4 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.3174, allocations: 24.84 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3174, allocations: 4.062 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.3175, allocations: 45.62 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3175, allocations: 4 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.3175, allocations: 7.922 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.3176, allocations: 3.984 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.3176, allocations: 4 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3177, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.3177, allocations: 4 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3177, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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.495e-05/0.3178, allocations: 118.5 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.3178, allocations: 11.89 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.3178, allocations: 7.062 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3178, allocations: 0 / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3178, allocations: 0 / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3178, allocations: 0 / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.318, allocations: 153.7 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.318, allocations: 0 / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.318, allocations: 4 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.318, allocations: 4 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.318, allocations: 8.172 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.318, allocations: 0 / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.318, allocations: 4 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.3182, allocations: 73.06 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.3182, allocations: 77.11 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3182, allocations: 3.938 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.3183, allocations: 11.95 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.3183, allocations: 4 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.3183, allocations: 0 / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.3184, allocations: 83.28 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3184, allocations: 0 / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001787/0.3185, allocations: 0 / 0.7869 GB, free: 9.504 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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.0001363/0.3187, allocations: 103.2 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.3188, allocations: 23.98 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3188, allocations: 0 / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.3189, allocations: 7.938 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.319, allocations: 0 / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.3193, allocations: 114.5 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3196, allocations: 0.6769 MB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.3196, allocations: 7.984 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.3196, allocations: 7.438 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3197, allocations: 0 / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.002251/0.3219, allocations: 283.5 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)