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.001418/0.001417, allocations: 102.8 kB / 16.36 MB, free: 6.309 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.001468/0.001469, allocations: 192.3 kB / 17.29 MB, free: 5.871 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001475/0.001475, allocations: 83.83 kB / 0.6729 GB, free: 5.703 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2225, allocations: 114.5 MB / 0.7848 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002051/0.2246, allocations: 0.6155 MB / 0.7854 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.2255, allocations: 0.8127 MB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.2256, allocations: 0 / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.2256, allocations: 3.938 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.2257, allocations: 0 / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.2258, allocations: 7.938 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.2259, allocations: 23.91 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.226, allocations: 8 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.2261, allocations: 7.938 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2262, allocations: 7.984 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2262, allocations: 0 / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.2262, allocations: 4 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.2262, allocations: 7.938 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.2262, allocations: 0 / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.362e-05/0.2263, allocations: 23.89 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2263, allocations: 0 / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2263, allocations: 0 / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2264, allocations: 4 kB / 0.7863 GB, free: 1.5 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.0004673/0.2268, allocations: 335.4 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2269, allocations: 8.031 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.2269, allocations: 0.9375 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2271, allocations: 168.3 kB / 0.7868 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2271, allocations: 4.359 kB / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2271, allocations: 384 / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2272, allocations: 30.27 kB / 0.7868 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2272, allocations: 4.188 kB / 0.7868 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2273, allocations: 11.92 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2273, allocations: 3.984 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.636e-05/0.2273, allocations: 12 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.2275, allocations: 149.7 kB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.124e-05/0.2276, allocations: 30.53 kB / 0.787 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.2276, allocations: 8.922 kB / 0.787 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2277, allocations: 4 kB / 0.787 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2277, allocations: 42.48 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.2277, allocations: 0 / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002176/0.2279, allocations: 57.53 kB / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.228, allocations: 51.41 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.2281, allocations: 109.7 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2281, allocations: 29.83 kB / 0.7873 GB, free: 268 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.2281, allocations: 84.14 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2282, allocations: 0 / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2282, allocations: 13.72 kB / 0.7874 GB, free: 160 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3563/0.5845, allocations: 315.4 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.5846, allocations: 4.062 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.5846, allocations: 8.859 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.5847, allocations: 23.06 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5847, allocations: 0 / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001432/0.5849, allocations: 44.53 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5849, allocations: 8.422 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5849, allocations: 3.75 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.585, allocations: 4.25 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.5851, allocations: 5.375 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.5851, allocations: 0 / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/0.5851, allocations: 6.625 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5852, allocations: 2.625 kB / 0.7878 GB, free: 48.66 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.417e-05/0.5852, allocations: 106.4 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.5852, allocations: 7.125 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.5853, allocations: 8.031 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5853, allocations: 0 / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5853, allocations: 7.156 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5853, allocations: 0 / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.526e-05/0.5854, allocations: 152.1 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5854, allocations: 0.75 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.5854, allocations: 7.938 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5854, allocations: 0 / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5855, allocations: 3.375 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5855, allocations: 2.625 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5855, allocations: 5.719 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.5856, allocations: 69.59 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.5856, allocations: 77.11 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5856, allocations: 0 / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.884e-05/0.5857, allocations: 4.5 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.5857, allocations: 11.08 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.5857, allocations: 3.281 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.5858, allocations: 81.47 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5858, allocations: 0.75 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002319/0.586, allocations: 2.625 kB / 0.7883 GB, free: 48.12 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.0001093/0.5861, allocations: 100.8 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.5862, allocations: 22.67 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5863, allocations: 0 / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.5863, allocations: 7.984 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.5865, allocations: 4.469 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.5868, allocations: 146.2 kB / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.5869, allocations: 0.6756 MB / 0.7893 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.5869, allocations: 7.438 kB / 0.7893 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.5869, allocations: 0 / 0.7893 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.001671/0.5886, allocations: 455.3 kB / 0.7897 GB, free: 47.21 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)