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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001413/0.001413, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.709/1.709, allocations: 251.9 MB / 0.51 GB, free: 4.824 MB / 414.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.0004833/0.0004833, allocations: 20 kB / 0.6241 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5122, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001987/0.5142, allocations: 1.039 MB / 0.729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.5146, allocations: 115.2 kB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.5147, allocations: 0 / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.5147, allocations: 0 / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.5148, allocations: 7.938 kB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.515, allocations: 7.984 kB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.5151, allocations: 11.98 kB / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.008e-05/0.5151, allocations: 7.984 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/0.5152, allocations: 11.94 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.5153, allocations: 7.984 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.5154, allocations: 0 / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.5154, allocations: 4 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.5154, allocations: 0 / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.5154, allocations: 25.7 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.436e-05/0.5155, allocations: 7.984 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.5155, allocations: 3.938 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.945e-06/0.5155, allocations: 0 / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.5155, allocations: 4 kB / 0.7292 GB, free: 10.14 MB / 0.545 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.000504/0.5161, allocations: 336.3 kB / 0.7295 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5161, allocations: 16.02 kB / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.5161, allocations: 0 / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.5163, allocations: 170.9 kB / 0.7297 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5163, allocations: 0 / 0.7297 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.5164, allocations: 4 kB / 0.7297 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.5165, allocations: 37.69 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5166, allocations: 0 / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5166, allocations: 0 / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5166, allocations: 4 kB / 0.7298 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.5167, allocations: 19.98 kB / 0.7298 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.5169, allocations: 157.6 kB / 0.7299 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.554e-05/0.517, allocations: 30.55 kB / 0.73 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.517, allocations: 0 / 0.73 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.517, allocations: 30.56 kB / 0.73 GB, free: 9.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5171, allocations: 4.062 kB / 0.73 GB, free: 9.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002555/0.5173, allocations: 57.8 kB / 0.73 GB, free: 9.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5174, allocations: 59.34 kB / 0.7301 GB, free: 9.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.5174, allocations: 101.8 kB / 0.7302 GB, free: 8.953 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5175, allocations: 29.7 kB / 0.7302 GB, free: 8.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.5175, allocations: 84.14 kB / 0.7303 GB, free: 8.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.5176, allocations: 3.938 kB / 0.7303 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.5176, allocations: 0 / 0.7303 GB, free: 8.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5177, allocations: 310.8 kB / 0.7306 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.5177, allocations: 15.98 kB / 0.7306 GB, free: 8.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.5178, allocations: 8 kB / 0.7306 GB, free: 8.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.5178, allocations: 11.98 kB / 0.7306 GB, free: 8.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5178, allocations: 3.953 kB / 0.7306 GB, free: 8.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001164/0.5179, allocations: 53.62 kB / 0.7307 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.518, allocations: 8.094 kB / 0.7307 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.518, allocations: 4 kB / 0.7307 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.518, allocations: 0 / 0.7307 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.5181, allocations: 7.938 kB / 0.7307 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5181, allocations: 0 / 0.7307 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.5181, allocations: 11.83 kB / 0.7307 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5181, allocations: 4 kB / 0.7307 GB, free: 8.383 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.5182, allocations: 105.8 kB / 0.7308 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.5182, allocations: 7.953 kB / 0.7308 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.5183, allocations: 7.125 kB / 0.7308 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5183, allocations: 0 / 0.7308 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5183, allocations: 0 / 0.7308 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5183, allocations: 0 / 0.7308 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.5184, allocations: 153.9 kB / 0.731 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.5184, allocations: 7.984 kB / 0.731 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.5184, allocations: 7.953 kB / 0.731 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5184, allocations: 0 / 0.731 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5185, allocations: 0 / 0.731 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5185, allocations: 4 kB / 0.731 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5185, allocations: 0 / 0.731 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.5186, allocations: 73.11 kB / 0.7311 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.5187, allocations: 81.11 kB / 0.7312 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.5187, allocations: 3.953 kB / 0.7312 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.5187, allocations: 4.031 kB / 0.7312 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.5188, allocations: 7.938 kB / 0.7312 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.5188, allocations: 0 / 0.7312 GB, free: 7.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.5188, allocations: 87.27 kB / 0.7313 GB, free: 7.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5188, allocations: 0 / 0.7313 GB, free: 7.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000168/0.519, allocations: 4 kB / 0.7313 GB, free: 7.742 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.5192, allocations: 95.25 kB / 0.7314 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.5193, allocations: 27.98 kB / 0.7314 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5193, allocations: 0 / 0.7314 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.5194, allocations: 4 kB / 0.7314 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.5195, allocations: 10.61 kB / 0.7314 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.5198, allocations: 120.6 kB / 0.7315 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.5203, allocations: 0.6809 MB / 0.7322 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.5203, allocations: 4 kB / 0.7322 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.5203, allocations: 7.438 kB / 0.7322 GB, free: 6.734 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.5203, allocations: 0 / 0.7322 GB, free: 6.734 MB / 0.545 GB Notification: Performance of Templates: time 0.002124/0.5225, allocations: 242.2 kB / 0.7324 GB, free: 6.5 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: