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.493/1.493, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009617/0.0009615, allocations: 178.1 kB / 326.5 MB, free: 2.66 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.653/1.653, allocations: 205 MB / 0.5766 GB, free: 21 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.0008075/0.0008076, allocations: 83.19 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 12.12 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1739, allocations: 105.4 MB / 0.8968 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001326/0.1753, allocations: 1.046 MB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002898/0.1756, allocations: 128.5 kB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.1756, allocations: 0 / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.1757, allocations: 0 / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.1757, allocations: 3.938 kB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.1759, allocations: 15.97 kB / 0.8979 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.1759, allocations: 15.94 kB / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.176, allocations: 4 kB / 0.8979 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.1761, allocations: 11.98 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.1762, allocations: 7.938 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1762, allocations: 4 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.1762, allocations: 0 / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1762, allocations: 3.984 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.1762, allocations: 7.938 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.407e-05/0.1763, allocations: 16.19 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1763, allocations: 0 / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1763, allocations: 0 / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1763, allocations: 7.938 kB / 0.898 GB, free: 66.82 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.0003006/0.1766, allocations: 323.5 kB / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1767, allocations: 12.03 kB / 0.8983 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.1767, allocations: 0.9375 kB / 0.8983 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.1768, allocations: 172.3 kB / 0.8985 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1768, allocations: 384 / 0.8985 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.1768, allocations: 384 / 0.8985 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.177, allocations: 42.25 kB / 0.8985 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.177, allocations: 4.188 kB / 0.8985 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.177, allocations: 3.938 kB / 0.8985 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.177, allocations: 0 / 0.8985 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.1771, allocations: 19.98 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.1772, allocations: 158.4 kB / 0.8987 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.1773, allocations: 26.58 kB / 0.8987 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.1773, allocations: 12.91 kB / 0.8987 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1774, allocations: 4 kB / 0.8987 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.1774, allocations: 34.56 kB / 0.8988 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1774, allocations: 0 / 0.8988 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001878/0.1776, allocations: 61.56 kB / 0.8988 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.1776, allocations: 51.41 kB / 0.8989 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.1777, allocations: 113.9 kB / 0.899 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.1777, allocations: 25.7 kB / 0.899 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/0.1777, allocations: 80.14 kB / 0.8991 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1777, allocations: 4 kB / 0.8991 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.1778, allocations: 9.719 kB / 0.8991 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.1778, allocations: 318.8 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.1779, allocations: 4 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.1779, allocations: 19.98 kB / 0.8994 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.178, allocations: 16.86 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.178, allocations: 0 / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.1781, allocations: 61.52 kB / 0.8995 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1781, allocations: 8.094 kB / 0.8995 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1781, allocations: 7.938 kB / 0.8995 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1781, allocations: 3.984 kB / 0.8995 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.1782, allocations: 4 kB / 0.8995 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1782, allocations: 0 / 0.8995 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.1782, allocations: 0 / 0.8995 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1783, allocations: 7.984 kB / 0.8995 GB, free: 65.02 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 4.253e-05/0.1783, allocations: 105.8 kB / 0.8996 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.1783, allocations: 4 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.1783, allocations: 11.06 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1783, allocations: 4 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1783, allocations: 3.938 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1784, allocations: 0 / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.681e-05/0.1784, allocations: 149.7 kB / 0.8998 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1784, allocations: 0 / 0.8998 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.1785, allocations: 7.984 kB / 0.8998 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1785, allocations: 0 / 0.8998 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1785, allocations: 3.938 kB / 0.8998 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1785, allocations: 4 kB / 0.8998 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1785, allocations: 0 / 0.8998 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1786, allocations: 77.06 kB / 0.8999 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.1786, allocations: 81.11 kB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1787, allocations: 7.922 kB / 0.9 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.1787, allocations: 4.281 kB / 0.9 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.1787, allocations: 7.938 kB / 0.9 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1787, allocations: 4 kB / 0.9 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.1788, allocations: 79.28 kB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1788, allocations: 0 / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001807/0.1789, allocations: 4 kB / 0.9001 GB, free: 64.38 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 9.581e-05/0.179, allocations: 99.23 kB / 0.9002 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1792, allocations: 27.98 kB / 0.9002 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1792, allocations: 0 / 0.9002 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.1792, allocations: 11.94 kB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.1794, allocations: 9.438 kB / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.1796, allocations: 130.2 kB / 0.9003 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.1797, allocations: 0.6809 MB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.1797, allocations: 7.438 kB / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.1797, allocations: 4 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.001469/0.1812, allocations: 456.7 kB / 0.9015 GB, free: 62.9 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)