Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001148/0.001148, 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.001189/0.001189, allocations: 194.1 kB / 16.14 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.36 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.326, 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.002826/0.3289, allocations: 1.622 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3299, allocations: 0.5882 MB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.33, allocations: 4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.3301, allocations: 7.922 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.589e-05/0.3302, allocations: 11.86 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.3305, allocations: 71.86 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3306, allocations: 99.62 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3308, allocations: 24.2 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3309, allocations: 35.91 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.331, allocations: 51.75 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.331, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3311, allocations: 55.89 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.3312, allocations: 19.92 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.3312, allocations: 35.8 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3314, allocations: 143.8 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3314, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3314, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3315, allocations: 3.938 kB / 1.07 GB, free: 8.191 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.00091/0.3324, allocations: 452.7 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3324, allocations: 8.031 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.3325, allocations: 12.84 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3326, allocations: 189.9 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3327, allocations: 8.375 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3327, allocations: 4.375 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.333, allocations: 109.9 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3331, allocations: 3.938 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3331, allocations: 3.938 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.3331, allocations: 4 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.3334, allocations: 87.92 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.3341, allocations: 344.6 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3344, allocations: 98.45 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.3346, allocations: 56.88 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3346, allocations: 0 / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.335, allocations: 119.3 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.335, allocations: 4 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.00069/0.3357, allocations: 201.4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3357, allocations: 55.41 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3359, allocations: 143.2 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3359, allocations: 25.7 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.336, allocations: 104 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.336, allocations: 35.61 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.3361, allocations: 29.7 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3362, allocations: 322.8 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3364, allocations: 55.95 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3366, allocations: 59.88 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.337, allocations: 146.5 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.337, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004717/0.3375, allocations: 195.2 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.3376, allocations: 37.69 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3376, allocations: 4 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3376, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3378, allocations: 19.92 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3378, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3379, allocations: 27.91 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.338, allocations: 0 / 1.073 GB, free: 5.035 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 0.0001105/0.3381, allocations: 121.8 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3381, allocations: 11.81 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.3381, allocations: 16.7 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.3382, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3382, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3382, allocations: 4.469 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.3384, allocations: 201.5 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3384, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.3385, allocations: 15.98 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3385, allocations: 0 / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3386, allocations: 11.92 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3386, allocations: 4 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3386, allocations: 7.938 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.339, allocations: 180.9 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.3391, allocations: 85.02 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3391, allocations: 0 / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3393, allocations: 15.98 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.3393, allocations: 15.97 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3394, allocations: 4 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.3394, allocations: 104.8 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.799e-06/0.3395, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002461/0.3397, allocations: 43.81 kB / 1.074 GB, free: 4.105 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.0001903/0.3399, allocations: 123.2 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005011/0.3404, allocations: 187.3 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3404, allocations: 0 / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3406, allocations: 63.89 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.3408, allocations: 5.406 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3414, allocations: 253.3 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3417, allocations: 0.7051 MB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.254e-05/0.3417, allocations: 15.98 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.3418, allocations: 11.44 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3418, allocations: 0 / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.003901/0.3457, allocations: 1.285 MB / 1.076 GB, free: 1.402 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)