Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008679, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001737/0.001736, allocations: 172.2 kB / 16.26 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006476, allocations: 10.66 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3868, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0008988/0.3877, allocations: 339.3 kB / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009035/0.3887, allocations: 0.7828 MB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.3887, allocations: 0 / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.3887, allocations: 0 / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.3888, allocations: 7.938 kB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.37e-05/0.3889, allocations: 4 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.3889, allocations: 11.98 kB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.792e-05/0.389, allocations: 4 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.3891, allocations: 11.88 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.3891, allocations: 7.984 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3892, allocations: 0 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.3892, allocations: 0 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3892, allocations: 4 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.3892, allocations: 33.64 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.745e-05/0.3893, allocations: 19.95 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3893, allocations: 0 / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.766e-06/0.3893, allocations: 0 / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3894, allocations: 0 / 1.075 GB, free: 6.262 MB / 0.8262 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.0004607/0.3898, allocations: 335.6 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3899, allocations: 8.031 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.3899, allocations: 8.844 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3901, allocations: 172.6 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3901, allocations: 8.344 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3901, allocations: 4.312 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3903, allocations: 42.25 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3903, allocations: 4.125 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3903, allocations: 11.94 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3903, allocations: 0 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3905, allocations: 39.91 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.3907, allocations: 157.7 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3908, allocations: 42.59 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.3909, allocations: 24.91 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.3909, allocations: 0 / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.391, allocations: 30.56 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.391, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003635/0.3914, allocations: 105.5 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3914, allocations: 51.41 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.3915, allocations: 97.98 kB / 1.076 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3915, allocations: 29.69 kB / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.3916, allocations: 84.14 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3916, allocations: 3.906 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.3916, allocations: 13.72 kB / 1.077 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3918, allocations: 310.8 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.3918, allocations: 19.98 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.3919, allocations: 19.98 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3921, allocations: 52.88 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3921, allocations: 0 / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001939/0.3923, allocations: 69.61 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3923, allocations: 9.094 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3924, allocations: 3.938 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3924, allocations: 32 / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3925, allocations: 15.98 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3925, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3926, allocations: 7.984 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3926, allocations: 3.984 kB / 1.077 GB, free: 4.285 MB / 0.8262 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.153e-05/0.3927, allocations: 109.8 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.3927, allocations: 0 / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.3927, allocations: 11.06 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3927, allocations: 0 / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3927, allocations: 4 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3927, allocations: 0 / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.3928, allocations: 157.6 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3929, allocations: 0 / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.3929, allocations: 8 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3929, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3929, allocations: 7.875 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3929, allocations: 4 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.393, allocations: 7.938 kB / 1.077 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.3932, allocations: 89.09 kB / 1.077 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.3932, allocations: 81.14 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3933, allocations: 15.92 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.3933, allocations: 4 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.3934, allocations: 0 / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3934, allocations: 8 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.3935, allocations: 83.44 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3935, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001768/0.3937, allocations: 4 kB / 1.078 GB, free: 3.605 MB / 0.8262 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.0002034/0.3939, allocations: 99.25 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3941, allocations: 43.91 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3941, allocations: 4 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.3942, allocations: 28.03 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3945, allocations: 4 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.3948, allocations: 96.62 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3951, allocations: 0.6731 MB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.3952, allocations: 8.062 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.3952, allocations: 7.438 kB / 1.079 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3952, allocations: 3.938 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.002913/0.3981, allocations: 331.2 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1)