Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 178.2 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000906/0.0009058, allocations: 90.38 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 9.688 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1802, allocations: 106.3 MB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001255/0.1815, allocations: 1.045 MB / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002722/0.1818, allocations: 125.8 kB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.1819, allocations: 0 / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.1819, allocations: 7.875 kB / 0.9026 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.182, allocations: 0 / 0.9026 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.1821, allocations: 7.984 kB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.061e-05/0.1821, allocations: 15.94 kB / 0.9026 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.1822, allocations: 0 / 0.9026 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.1823, allocations: 19.91 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.1824, allocations: 11.94 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1824, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-06/0.1824, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.1824, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.1825, allocations: 41.62 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.076e-05/0.1825, allocations: 7.984 kB / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1825, allocations: 0 / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1825, allocations: 0 / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1825, allocations: 0 / 0.9027 GB, free: 62.15 MB / 0.6042 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.000309/0.1828, allocations: 327.5 kB / 0.903 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1829, allocations: 8.031 kB / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1829, allocations: 4.938 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/0.183, allocations: 168.6 kB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.183, allocations: 4.359 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.183, allocations: 384 / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1832, allocations: 34.27 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1832, allocations: 192 / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1832, allocations: 7.938 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1832, allocations: 3.984 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.1833, allocations: 23.88 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.1834, allocations: 157.7 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/0.1835, allocations: 26.59 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.1835, allocations: 16.92 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1836, allocations: 0 / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.1836, allocations: 38.55 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1836, allocations: 0 / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001881/0.1838, allocations: 61.69 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.1838, allocations: 55.41 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.1839, allocations: 105.8 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.1839, allocations: 25.7 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.1839, allocations: 84.14 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1839, allocations: 7.938 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.184, allocations: 0 / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.184, allocations: 310.8 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.184, allocations: 15.98 kB / 0.9041 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.1841, allocations: 8 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.1842, allocations: 24.78 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1842, allocations: 0 / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.1843, allocations: 61.59 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1843, allocations: 8 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1843, allocations: 3.938 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1843, allocations: 3.984 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.1844, allocations: 4 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1844, allocations: 0 / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.1845, allocations: 4.25 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1845, allocations: 4 kB / 0.9043 GB, free: 60.36 MB / 0.6042 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 5.717e-05/0.1846, allocations: 109.9 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.1846, allocations: 11.98 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.1846, allocations: 7.062 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1846, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1846, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1846, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.456e-05/0.1847, allocations: 153.7 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1847, allocations: 0 / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.1848, allocations: 7.938 kB / 0.9045 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1848, allocations: 0 / 0.9045 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1848, allocations: 7.938 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1848, allocations: 3.984 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1848, allocations: 3.984 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.1849, allocations: 77.06 kB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.185, allocations: 77.11 kB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.185, allocations: 3.969 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.185, allocations: 11.98 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.1851, allocations: 0 / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1851, allocations: 0 / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.1851, allocations: 83.28 kB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1851, allocations: 0 / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001986/0.1853, allocations: 4 kB / 0.9048 GB, free: 59.71 MB / 0.6042 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.0001048/0.1854, allocations: 95.25 kB / 0.9049 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1856, allocations: 27.92 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1856, allocations: 0 / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.1856, allocations: 15.98 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1858, allocations: 3.375 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.186, allocations: 150.4 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.1861, allocations: 0.677 MB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.1862, allocations: 7.438 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.1862, allocations: 0 / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.001615/0.1878, allocations: 468 kB / 0.9062 GB, free: 58.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)