Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 76.81 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009967/0.0009967, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9754/0.9754, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.927/1.927, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.257e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001523/0.001546, allocations: 0.6301 MB / 0.7758 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.002355, allocations: 0.8653 MB / 0.7767 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.002386, allocations: 0 / 0.7767 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.002409, allocations: 2.312 kB / 0.7767 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.002463, allocations: 9.562 kB / 0.7767 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.002622, allocations: 8.859 kB / 0.7767 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.002684, allocations: 20.92 kB / 0.7767 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.002716, allocations: 0 / 0.7767 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.002844, allocations: 28.25 kB / 0.7767 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.002888, allocations: 12.84 kB / 0.7767 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.002899, allocations: 0 / 0.7767 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.731e-05/0.002936, allocations: 4 kB / 0.7768 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.002945, allocations: 0.875 kB / 0.7768 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.002959, allocations: 9.094 kB / 0.7768 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.145e-05/0.00304, allocations: 12.75 kB / 0.7768 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003042, allocations: 0 / 0.7768 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003043, allocations: 2.75 kB / 0.7768 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.003046, allocations: 0 / 0.7768 GB, free: 3.824 MB / 0.7292 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.0002472/0.003293, allocations: 232.9 kB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.003327, allocations: 9.344 kB / 0.777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.317e-05/0.00342, allocations: 13.8 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.896e-05/0.003489, allocations: 101.8 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003499, allocations: 5 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.003507, allocations: 384 / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.00358, allocations: 47.64 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.003586, allocations: 0.7188 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.003592, allocations: 384 / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003597, allocations: 4.938 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.1e-05/0.003608, allocations: 5.188 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.9e-05/0.003677, allocations: 61.05 kB / 0.7772 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.394e-05/0.003711, allocations: 24.09 kB / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.071e-05/0.003722, allocations: 4.859 kB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.003732, allocations: 0 / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.00375, allocations: 31.59 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.003751, allocations: 0.6562 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.399e-05/0.003835, allocations: 38.42 kB / 0.7773 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.003864, allocations: 51.41 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.003916, allocations: 107.3 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.003925, allocations: 25.7 kB / 0.7775 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.003946, allocations: 84.77 kB / 0.7776 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.003965, allocations: 4.828 kB / 0.7776 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.003989, allocations: 14.34 kB / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.00406, allocations: 327.7 kB / 0.7779 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.004068, allocations: 0 / 0.7779 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.004074, allocations: 1.438 kB / 0.7779 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.004095, allocations: 12.8 kB / 0.7779 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004096, allocations: 0 / 0.7779 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.032e-05/0.004137, allocations: 34.34 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.004147, allocations: 8.766 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.004151, allocations: 0.5312 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.004163, allocations: 1.688 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.004215, allocations: 256 / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.004219, allocations: 4 kB / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.004231, allocations: 4 kB / 0.778 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.004236, allocations: 0.8438 kB / 0.778 GB, free: 2.445 MB / 0.7292 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 4.891e-05/0.004285, allocations: 114.3 kB / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.004292, allocations: 12.47 kB / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.287e-05/0.004305, allocations: 3.906 kB / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.004306, allocations: 0 / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.004307, allocations: 1.688 kB / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004309, allocations: 3.938 kB / 0.7781 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.929e-05/0.004359, allocations: 65.84 kB / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004359, allocations: 0 / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.004374, allocations: 11.92 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004375, allocations: 0.875 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.004379, allocations: 4 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.00438, allocations: 1.156 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004381, allocations: 0 / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.107e-05/0.004432, allocations: 61.06 kB / 0.7783 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.004438, allocations: 5.75 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.004446, allocations: 4 kB / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.004454, allocations: 0 / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.004473, allocations: 0 / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.004475, allocations: 1.219 kB / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.276e-05/0.004488, allocations: 16.83 kB / 0.7783 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004488, allocations: 0 / 0.7783 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.687e-05/0.004575, allocations: 4 kB / 0.7783 GB, free: 2.102 MB / 0.7292 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 7.565e-05/0.004651, allocations: 78.2 kB / 0.7784 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.652e-05/0.004697, allocations: 12.8 kB / 0.7784 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.004699, allocations: 0.5 kB / 0.7784 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.004709, allocations: 9.422 kB / 0.7784 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.22e-05/0.004791, allocations: 12.7 kB / 0.7784 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.005125, allocations: 117.6 kB / 0.7785 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.604e-05/0.005152, allocations: 55.89 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.349e-05/0.005165, allocations: 1.625 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.005194, allocations: 47.38 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.005194, allocations: 3.938 kB / 0.7786 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of Templates: time 0.001583/0.006778, allocations: 304.5 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.101369225885719]