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.001563/0.001563, allocations: 105.4 kB / 15.7 MB, free: 24 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.001877/0.001877, allocations: 187.5 kB / 16.64 MB, free: 6.594 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.88/1.88, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001463/0.001464, allocations: 73.22 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2764, allocations: 114.6 MB / 0.7842 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002152/0.2786, allocations: 0.6192 MB / 0.7848 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.2795, allocations: 0.8087 MB / 0.7856 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.2796, allocations: 0 / 0.7856 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.2796, allocations: 0 / 0.7856 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.2797, allocations: 3.938 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.2799, allocations: 11.94 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.2799, allocations: 19.92 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.28, allocations: 3.984 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.2801, allocations: 19.92 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.2802, allocations: 7.938 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2802, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2802, allocations: 4 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.2802, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.2803, allocations: 11.92 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.779e-05/0.2803, allocations: 11.97 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2804, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2804, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2804, allocations: 0 / 0.7856 GB, free: 11.21 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.0004705/0.2808, allocations: 341.8 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2809, allocations: 8.031 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2809, allocations: 0.9375 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.2811, allocations: 168.4 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.2811, allocations: 384 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2811, allocations: 384 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.2813, allocations: 42.19 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2813, allocations: 192 / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.2813, allocations: 3.938 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2813, allocations: 8 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.2814, allocations: 15.92 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.2815, allocations: 153.6 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.642e-05/0.2816, allocations: 26.61 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.2817, allocations: 12.91 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.2817, allocations: 0 / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2817, allocations: 34.56 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2817, allocations: 0 / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001991/0.2819, allocations: 57.56 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.282, allocations: 51.41 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.2821, allocations: 105.8 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2821, allocations: 25.7 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.2821, allocations: 80.14 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2822, allocations: 8.125 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.2822, allocations: 13.72 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2823, allocations: 314.8 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.2823, allocations: 4 kB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.2824, allocations: 11.98 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.2825, allocations: 20.84 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2825, allocations: 4.062 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.2826, allocations: 53.56 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2826, allocations: 4 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2826, allocations: 4.188 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2826, allocations: 0 / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.2827, allocations: 8 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2827, allocations: 3.984 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.2828, allocations: 7.984 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.2828, allocations: 0 / 0.7872 GB, free: 9.43 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 6.315e-05/0.2829, allocations: 110.5 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.2829, allocations: 3.906 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.2829, allocations: 15.06 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2829, allocations: 0 / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2829, allocations: 3.938 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2829, allocations: 0 / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.283, allocations: 149.7 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.283, allocations: 0 / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.2831, allocations: 7.984 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2831, allocations: 4 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2831, allocations: 3.938 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2831, allocations: 0 / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2831, allocations: 3.938 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.2832, allocations: 69.12 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.2833, allocations: 89.08 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2833, allocations: 3.938 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.2833, allocations: 4.031 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.2834, allocations: 0 / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.2834, allocations: 4 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.2834, allocations: 83.27 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2834, allocations: 0 / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001708/0.2836, allocations: 0 / 0.7877 GB, free: 8.785 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.000141/0.2837, allocations: 103.2 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.2839, allocations: 19.92 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2839, allocations: 4 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.2839, allocations: 4 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.2841, allocations: 10.48 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.2844, allocations: 114.5 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2847, allocations: 0.6768 MB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.2848, allocations: 4.125 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.2848, allocations: 7.438 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2848, allocations: 0 / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.002392/0.2872, allocations: 280.7 kB / 0.7889 GB, free: 7.512 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)