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.001516/0.001516, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.001815/0.001815, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.508/1.508, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.701/1.701, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001433/0.001433, allocations: 71.56 kB / 0.6717 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.28, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002274/0.2824, allocations: 0.6867 MB / 0.7842 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2835, allocations: 0.801 MB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.2835, allocations: 0 / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.2836, allocations: 3.938 kB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.2837, allocations: 4 kB / 0.785 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.2839, allocations: 7.984 kB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.2839, allocations: 19.94 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.284, allocations: 11.92 kB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.2841, allocations: 15.92 kB / 0.7851 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.2842, allocations: 4 kB / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2842, allocations: 4 kB / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.2842, allocations: 0 / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.2842, allocations: 3.938 kB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.2843, allocations: 8 kB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.552e-05/0.2843, allocations: 7.969 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2843, allocations: 0 / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2843, allocations: 4 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2844, allocations: 4 kB / 0.7851 GB, free: 12.28 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.0004482/0.2848, allocations: 327.7 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2849, allocations: 11.97 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.2849, allocations: 4.922 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.285, allocations: 168.4 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.285, allocations: 4.359 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2851, allocations: 384 / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2852, allocations: 30.27 kB / 0.7856 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2852, allocations: 8.188 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2852, allocations: 3.938 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2853, allocations: 3.984 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.2853, allocations: 19.94 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.2855, allocations: 157.6 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.203e-05/0.2856, allocations: 22.56 kB / 0.7858 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.2857, allocations: 12.92 kB / 0.7858 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2857, allocations: 4 kB / 0.7858 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2857, allocations: 34.55 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2857, allocations: 0 / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002358/0.286, allocations: 61.5 kB / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.286, allocations: 51.41 kB / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.2861, allocations: 106 kB / 0.7861 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2861, allocations: 29.7 kB / 0.7861 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.2862, allocations: 80.14 kB / 0.7862 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.2862, allocations: 4 kB / 0.7862 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.2863, allocations: 9.719 kB / 0.7862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2864, allocations: 318.8 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.2864, allocations: 4 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.2865, allocations: 4 kB / 0.7865 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.084e-05/0.2866, allocations: 28.91 kB / 0.7865 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2866, allocations: 0 / 0.7865 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.2867, allocations: 49.61 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2867, allocations: 4 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2867, allocations: 3.938 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2867, allocations: 0 / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.2868, allocations: 4 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2868, allocations: 0 / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.2869, allocations: 12.03 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2869, allocations: 3.938 kB / 0.7866 GB, free: 10.5 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.618e-05/0.287, allocations: 110.5 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.287, allocations: 7.906 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.287, allocations: 7.062 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.287, allocations: 0 / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.287, allocations: 0 / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.287, allocations: 0 / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2872, allocations: 153.7 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2872, allocations: 4 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.2872, allocations: 7.984 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2872, allocations: 0 / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2873, allocations: 3.938 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2873, allocations: 0 / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2873, allocations: 4.188 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.2874, allocations: 69.12 kB / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.2875, allocations: 81.14 kB / 0.787 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2875, allocations: 7.938 kB / 0.787 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/0.2875, allocations: 3.984 kB / 0.787 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.2876, allocations: 4 kB / 0.7871 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2876, allocations: 0 / 0.7871 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.2876, allocations: 83.28 kB / 0.7871 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2876, allocations: 0 / 0.7871 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000175/0.2878, allocations: 0 / 0.7871 GB, free: 9.863 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.0001366/0.288, allocations: 111.2 kB / 0.7872 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.2881, allocations: 23.92 kB / 0.7873 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2881, allocations: 0 / 0.7873 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.2882, allocations: 4 kB / 0.7873 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.2883, allocations: 0 / 0.7873 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.2888, allocations: 148.3 kB / 0.7874 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.2891, allocations: 0.6768 MB / 0.7881 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.2892, allocations: 7.438 kB / 0.7881 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2892, allocations: 0 / 0.7881 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of Templates: time 0.001924/0.2911, allocations: 467.3 kB / 0.7885 GB, free: 8.375 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)