Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001378/0.001378, allocations: 196.4 kB / 16.14 MB, free: 6.656 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.72 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3267, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002995/0.3298, allocations: 1.615 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3309, allocations: 0.5922 MB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.331, allocations: 3.938 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3311, allocations: 11.92 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.3312, allocations: 11.86 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.3316, allocations: 67.88 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3317, allocations: 95.69 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3318, allocations: 28.14 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3319, allocations: 39.84 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.953e-05/0.332, allocations: 51.75 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3321, allocations: 4 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3322, allocations: 51.91 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.3323, allocations: 27.91 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.3323, allocations: 35.8 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.3326, allocations: 139.8 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3326, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3326, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3327, allocations: 0 / 1.07 GB, free: 8.188 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009081/0.3336, allocations: 448.8 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3336, allocations: 12.03 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.3337, allocations: 12.83 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3339, allocations: 189.9 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3339, allocations: 8.375 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3339, allocations: 4.375 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.3343, allocations: 105.9 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3343, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3343, allocations: 4 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.3343, allocations: 7.938 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.3347, allocations: 95.89 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.3354, allocations: 348.6 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.3357, allocations: 94.52 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.3359, allocations: 56.88 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3359, allocations: 0 / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.3363, allocations: 123.3 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3363, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000631/0.3369, allocations: 197.7 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.337, allocations: 55.39 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3372, allocations: 155.4 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3372, allocations: 29.77 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.3373, allocations: 100 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3373, allocations: 27.56 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.3373, allocations: 29.7 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.3376, allocations: 326.8 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.3378, allocations: 55.95 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.338, allocations: 55.95 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.3385, allocations: 142.5 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3385, allocations: 4 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004679/0.339, allocations: 203.2 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.339, allocations: 31.42 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.339, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3391, allocations: 4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3392, allocations: 23.97 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3392, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3394, allocations: 19.92 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.3394, allocations: 4 kB / 1.073 GB, free: 5.027 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 9.45e-05/0.3395, allocations: 129.7 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3395, allocations: 15.81 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.3396, allocations: 8.719 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.3396, allocations: 7.984 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3396, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3396, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3398, allocations: 201.5 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3398, allocations: 0 / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3399, allocations: 19.97 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3399, allocations: 4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3399, allocations: 0 / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3399, allocations: 0 / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3399, allocations: 0 / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.3404, allocations: 189 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.3405, allocations: 88.95 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3405, allocations: 4 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3407, allocations: 15.97 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.3407, allocations: 11.98 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3407, allocations: 4 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.3408, allocations: 107.2 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3408, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002543/0.3411, allocations: 35.94 kB / 1.074 GB, free: 4.102 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001807/0.3413, allocations: 131.2 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005626/0.3418, allocations: 179.2 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3419, allocations: 0 / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3421, allocations: 63.95 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.3423, allocations: 11.98 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.3428, allocations: 249.3 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3432, allocations: 0.7049 MB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.716e-05/0.3433, allocations: 15.97 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.3433, allocations: 15.42 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3433, allocations: 0 / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.003969/0.3473, allocations: 1.28 MB / 1.076 GB, free: 1.395 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)