Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 187.2 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 0.5776 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000759/0.0007591, allocations: 84.03 kB / 0.6822 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 12.38 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 106.3 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001553/0.2479, allocations: 1.25 MB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00086/0.2488, allocations: 0.6048 MB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.2488, allocations: 4 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.346e-05/0.2489, allocations: 3.938 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.249, allocations: 11.86 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.2493, allocations: 63.86 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.2494, allocations: 87.69 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2495, allocations: 16.22 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2497, allocations: 39.86 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.2497, allocations: 39.81 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.2498, allocations: 4 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.2499, allocations: 51.89 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.2499, allocations: 15.92 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.25, allocations: 41.7 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.2501, allocations: 87.83 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2501, allocations: 0 / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2501, allocations: 0 / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2501, allocations: 0 / 0.9026 GB, free: 61.51 MB / 0.6042 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.0007324/0.2509, allocations: 452.9 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2509, allocations: 8.031 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.251, allocations: 42.55 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.251, allocations: 15.77 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.2512, allocations: 185.4 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2512, allocations: 4 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.2512, allocations: 11.98 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.2516, allocations: 109.6 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2516, allocations: 0 / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2516, allocations: 0 / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.2516, allocations: 7.984 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.252, allocations: 111.9 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.2526, allocations: 360.6 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.2529, allocations: 106.5 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2531, allocations: 68.88 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.2531, allocations: 3.938 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.2534, allocations: 135.3 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.2535, allocations: 0 / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006485/0.2541, allocations: 249.4 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2541, allocations: 51.41 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.2542, allocations: 137.7 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.2543, allocations: 33.7 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.2543, allocations: 96.12 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.2544, allocations: 27.56 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.2544, allocations: 0 / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.2544, allocations: 318.9 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2546, allocations: 75.89 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.2548, allocations: 75.81 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.255, allocations: 97.66 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.255, allocations: 0 / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004192/0.2554, allocations: 211.2 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2555, allocations: 37.69 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2555, allocations: 0 / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2555, allocations: 0 / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2557, allocations: 23.98 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2557, allocations: 3.938 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2558, allocations: 27.97 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.2559, allocations: 4 kB / 0.9055 GB, free: 58.23 MB / 0.6042 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/0.256, allocations: 113.8 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.256, allocations: 15.77 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.256, allocations: 21.17 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.256, allocations: 7.984 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2561, allocations: 3.938 kB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2561, allocations: 0 / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.2563, allocations: 205.5 kB / 0.9059 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2563, allocations: 3.938 kB / 0.9059 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.2564, allocations: 19.98 kB / 0.9059 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.2564, allocations: 3.953 kB / 0.9059 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2565, allocations: 7.984 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2565, allocations: 0 / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2565, allocations: 0 / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.2569, allocations: 200.9 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.2569, allocations: 81.02 kB / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.257, allocations: 11.95 kB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2571, allocations: 15.98 kB / 0.9062 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.2572, allocations: 19.97 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2572, allocations: 4 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.368e-05/0.2573, allocations: 109.3 kB / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2573, allocations: 0 / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002328/0.2575, allocations: 32 kB / 0.9063 GB, free: 57.28 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006743/0.2582, allocations: 0.7528 MB / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.2587, allocations: 207.2 kB / 0.9073 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2587, allocations: 0 / 0.9073 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.2589, allocations: 71.95 kB / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2591, allocations: 11.98 kB / 0.9074 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2605, allocations: 0.8323 MB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2607, allocations: 0.7004 MB / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.513e-05/0.2608, allocations: 11.98 kB / 0.9089 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.2608, allocations: 27.42 kB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.2608, allocations: 0 / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.2764, allocations: 2.417 MB / 0.9113 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.2767, allocations: 192.8 kB / 0.9114 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.904, allocations: 0 / 0.9114 GB, free: 52.06 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)