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.001692/0.001692, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001649/0.001649, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.467/1.467, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.763/1.763, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001683/0.001683, allocations: 74.64 kB / 0.6722 GB, free: 6.629 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2593, allocations: 114.6 MB / 0.784 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002267/0.2616, allocations: 0.6158 MB / 0.7847 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2627, allocations: 0.8049 MB / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2627, allocations: 0 / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.2628, allocations: 7.938 kB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.2629, allocations: 0 / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.263, allocations: 19.84 kB / 0.7855 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.2631, allocations: 19.94 kB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.224e-05/0.2632, allocations: 7.984 kB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.2632, allocations: 4 kB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.2633, allocations: 15.92 kB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2633, allocations: 4 kB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-06/0.2634, allocations: 0 / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.2634, allocations: 0 / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.2634, allocations: 15.92 kB / 0.7855 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.914e-05/0.2635, allocations: 7.984 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2635, allocations: 0 / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2635, allocations: 0 / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2635, allocations: 3.984 kB / 0.7855 GB, free: 2.418 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.0004236/0.2639, allocations: 331.7 kB / 0.7859 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.264, allocations: 8.031 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.264, allocations: 4.938 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2642, allocations: 160.4 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2642, allocations: 4.312 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.2642, allocations: 384 / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2643, allocations: 42.25 kB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2644, allocations: 4.125 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2644, allocations: 3.938 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2644, allocations: 0 / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.2645, allocations: 15.98 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.2646, allocations: 161.6 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.2647, allocations: 26.5 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.2648, allocations: 12.92 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2648, allocations: 0 / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2648, allocations: 38.56 kB / 0.7863 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2648, allocations: 0 / 0.7863 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002068/0.265, allocations: 61.52 kB / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2651, allocations: 51.41 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.2652, allocations: 97.86 kB / 0.7865 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2652, allocations: 25.7 kB / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.2652, allocations: 88.12 kB / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.2653, allocations: 4.125 kB / 0.7866 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.2653, allocations: 13.72 kB / 0.7866 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2654, allocations: 318.8 kB / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.2655, allocations: 7.984 kB / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.2655, allocations: 4 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.2656, allocations: 20.84 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2656, allocations: 0 / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.2657, allocations: 49.75 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2657, allocations: 8 kB / 0.787 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2657, allocations: 4.188 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2658, allocations: 0 / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.2658, allocations: 7.984 kB / 0.787 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2659, allocations: 4 kB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.2659, allocations: 3.938 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.2659, allocations: 0 / 0.7871 GB, free: 0.6406 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 8.635e-05/0.266, allocations: 113.9 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.266, allocations: 3.906 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.266, allocations: 15.05 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.266, allocations: 0 / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2661, allocations: 0 / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2661, allocations: 0 / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.2662, allocations: 149.7 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2662, allocations: 0 / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.2662, allocations: 4 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2662, allocations: 3.938 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2662, allocations: 7.938 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2662, allocations: 0 / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2663, allocations: 7.938 kB / 0.7873 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.2664, allocations: 69.11 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.2664, allocations: 81.11 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2664, allocations: 3.938 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.2665, allocations: 8.031 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.2665, allocations: 7.922 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2665, allocations: 0 / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.2666, allocations: 79.28 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2666, allocations: 0 / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of remove unused functions: time 0.4436/0.7102, allocations: 2.203 kB / 0.7876 GB, free: 48.77 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.0001728/0.7104, allocations: 96.53 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.7107, allocations: 18.22 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7107, allocations: 2 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.7107, allocations: 7.953 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.7109, allocations: 5.062 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.7113, allocations: 131.7 kB / 0.7878 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.7114, allocations: 0.6775 MB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.7115, allocations: 7.938 kB / 0.7885 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of SimCode: time 1.302e-06/0.7115, allocations: 0 / 0.7885 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.001862/0.7134, allocations: 460.4 kB / 0.7889 GB, free: 47.86 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)