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.008124/0.008124, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001641/0.001641, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.763/1.763, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.642/1.642, allocations: 251.7 MB / 0.5094 GB, free: 2.98 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.001484/0.001485, allocations: 72.45 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2976, allocations: 104.7 MB / 0.8281 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002816/0.3005, allocations: 1.323 MB / 0.8294 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.3009, allocations: 120.8 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.301, allocations: 0 / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.301, allocations: 3.938 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.3011, allocations: 0 / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.3014, allocations: 19.92 kB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.3015, allocations: 15.94 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.3016, allocations: 11.97 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.3017, allocations: 11.94 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.3018, allocations: 7.984 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3018, allocations: 0 / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.3019, allocations: 4 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3019, allocations: 0 / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3019, allocations: 7.938 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.302, allocations: 19.91 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.302, allocations: 0 / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3021, allocations: 0 / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.3021, allocations: 4 kB / 0.8296 GB, free: 14.6 MB / 0.6544 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.0006475/0.3027, allocations: 331.4 kB / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.3028, allocations: 8.031 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.3028, allocations: 0.9375 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3031, allocations: 172.3 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3031, allocations: 8.25 kB / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.3031, allocations: 384 / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3033, allocations: 34.25 kB / 0.8301 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3033, allocations: 4.188 kB / 0.8301 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3033, allocations: 3.938 kB / 0.8301 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3034, allocations: 4 kB / 0.8301 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.3034, allocations: 15.92 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.3037, allocations: 149.7 kB / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3038, allocations: 34.53 kB / 0.8303 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.3039, allocations: 8.922 kB / 0.8303 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3039, allocations: 4 kB / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.304, allocations: 30.56 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.304, allocations: 0 / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002969/0.3043, allocations: 57.61 kB / 0.8304 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3043, allocations: 51.41 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3045, allocations: 101.9 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3045, allocations: 29.83 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.3046, allocations: 88.12 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.3046, allocations: 3.906 kB / 0.8307 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.3047, allocations: 17.66 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.3049, allocations: 310.8 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.612e-05/0.305, allocations: 11.98 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.305, allocations: 4 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.3051, allocations: 24.91 kB / 0.831 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3051, allocations: 0 / 0.831 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000125/0.3052, allocations: 45.69 kB / 0.8311 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3053, allocations: 7.938 kB / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3053, allocations: 3.938 kB / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3053, allocations: 0 / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3054, allocations: 7.984 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3055, allocations: 3.938 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.3055, allocations: 8.281 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3055, allocations: 0 / 0.8311 GB, free: 12.82 MB / 0.6544 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 0.0001202/0.3056, allocations: 109.8 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.3057, allocations: 0 / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.3057, allocations: 19.05 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3057, allocations: 0 / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3057, allocations: 0 / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3057, allocations: 0 / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3059, allocations: 153.7 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3059, allocations: 4 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.306, allocations: 4 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.306, allocations: 3.938 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.306, allocations: 3.938 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.306, allocations: 0 / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.306, allocations: 0 / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.3062, allocations: 69.11 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.096e-05/0.3063, allocations: 89.05 kB / 0.8315 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3063, allocations: 3.938 kB / 0.8316 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.3063, allocations: 3.938 kB / 0.8316 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.3064, allocations: 3.984 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3064, allocations: 4 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3065, allocations: 83.28 kB / 0.8316 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 0 / 0.8316 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000199/0.3067, allocations: 0 / 0.8316 GB, free: 12.18 MB / 0.6544 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.0002863/0.307, allocations: 103.2 kB / 0.8317 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.3071, allocations: 19.98 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3072, allocations: 0 / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.3072, allocations: 11.98 kB / 0.8318 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.3074, allocations: 2.406 kB / 0.8318 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.3078, allocations: 110.6 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3081, allocations: 0.6845 MB / 0.8325 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.3082, allocations: 0 / 0.8325 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.3082, allocations: 11.42 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3082, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.002786/0.311, allocations: 283.2 kB / 0.8328 GB, free: 10.9 MB / 0.6544 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)