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.001107/0.001107, allocations: 110.5 kB / 16.36 MB, free: 5.996 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.00115/0.00115, allocations: 193.3 kB / 17.3 MB, free: 5.602 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.371/1.371, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001566/0.001567, allocations: 71.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2422, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002072/0.2443, allocations: 0.6119 MB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008709/0.2452, allocations: 0.8049 MB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.2452, allocations: 0 / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.2452, allocations: 3.938 kB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.2453, allocations: 0 / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.2454, allocations: 15.92 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.137e-05/0.2455, allocations: 19.92 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.2456, allocations: 4 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.727e-05/0.2456, allocations: 15.92 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.2457, allocations: 4 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2457, allocations: 0 / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.2457, allocations: 4 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.2458, allocations: 11.92 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.2458, allocations: 0 / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.305e-05/0.2458, allocations: 19.91 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.2459, allocations: 0 / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2459, allocations: 4 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2459, allocations: 0 / 0.7863 GB, free: 1.594 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.000353/0.2462, allocations: 331.4 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2463, allocations: 12.02 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.2463, allocations: 0.9375 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2464, allocations: 168.4 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.2464, allocations: 384 / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2465, allocations: 384 / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.2466, allocations: 38.19 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2466, allocations: 8.172 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.2466, allocations: 7.938 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-06/0.2466, allocations: 0 / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.2467, allocations: 15.98 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.2468, allocations: 149.7 kB / 0.787 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.2469, allocations: 22.58 kB / 0.787 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.2469, allocations: 20.78 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.247, allocations: 4 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.247, allocations: 30.56 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.247, allocations: 0 / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002003/0.2472, allocations: 61.52 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2472, allocations: 51.41 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.2473, allocations: 105.8 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2473, allocations: 25.7 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.2474, allocations: 88.27 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2474, allocations: 4 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2474, allocations: 13.7 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4141/0.6616, allocations: 310.8 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.6617, allocations: 10.03 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.6618, allocations: 5.234 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.591e-05/0.6619, allocations: 21.84 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6619, allocations: 0 / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001541/0.6621, allocations: 48.92 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6621, allocations: 9.75 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6621, allocations: 3.75 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.6621, allocations: 0 / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.6622, allocations: 5.297 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6622, allocations: 2.625 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.6623, allocations: 1.875 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.6623, allocations: 0 / 0.7878 GB, free: 48.67 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 6.336e-05/0.6624, allocations: 110.2 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.6624, allocations: 9.344 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.6624, allocations: 6.938 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6624, allocations: 1.125 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6625, allocations: 3.938 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6625, allocations: 0 / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.148e-05/0.6626, allocations: 156.6 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6626, allocations: 0 / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.6626, allocations: 8.156 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6626, allocations: 1.406 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.6626, allocations: 0 / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6626, allocations: 1.688 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6627, allocations: 6.562 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.6628, allocations: 74.23 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.6628, allocations: 77.11 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.6628, allocations: 0 / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.6629, allocations: 3.219 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.6629, allocations: 6.891 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.6629, allocations: 5.219 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.731e-05/0.6629, allocations: 85.94 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6629, allocations: 0 / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000223/0.6632, allocations: 2.625 kB / 0.7883 GB, free: 48.13 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.0001036/0.6633, allocations: 100.9 kB / 0.7884 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.6634, allocations: 18.84 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6634, allocations: 0 / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.6635, allocations: 11.98 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.6636, allocations: 2.625 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.6639, allocations: 108.9 kB / 0.7886 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.664, allocations: 0.6712 MB / 0.7892 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.6641, allocations: 6.594 kB / 0.7892 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.6641, allocations: 11.94 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.6641, allocations: 0 / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.002155/0.6663, allocations: 277.8 kB / 0.7895 GB, free: 47.25 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)