Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.766/3.766, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.323e-05, allocations: 3.062 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2086, allocations: 98.73 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.572, allocations: 125 MB / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/0.5724, allocations: 75.95 kB / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.5859, allocations: 1.851 MB / 0.7529 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.769e-06/0.586, allocations: 0 / 0.7529 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.586, allocations: 7.938 kB / 0.7529 GB, free: 9.969 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001087/0.5871, allocations: 461.6 kB / 0.7533 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.5872, allocations: 12.03 kB / 0.7533 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.5873, allocations: 15.86 kB / 0.7533 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.5877, allocations: 191.6 kB / 0.7535 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.5877, allocations: 8 kB / 0.7535 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.5878, allocations: 4 kB / 0.7535 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002976/0.5881, allocations: 55.92 kB / 0.7536 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.5885, allocations: 105.6 kB / 0.7537 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5885, allocations: 4 kB / 0.7537 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.5885, allocations: 7.938 kB / 0.7537 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5886, allocations: 0 / 0.7537 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.5896, allocations: 337.2 kB / 0.754 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.5899, allocations: 98.5 kB / 0.7541 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.5902, allocations: 64.91 kB / 0.7542 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.5902, allocations: 3.938 kB / 0.7542 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.5906, allocations: 115.3 kB / 0.7543 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.5906, allocations: 0 / 0.7543 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005639/0.5912, allocations: 145.6 kB / 0.7544 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.5913, allocations: 89.09 kB / 0.7545 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.5915, allocations: 134.8 kB / 0.7547 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.5915, allocations: 25.7 kB / 0.7547 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.5916, allocations: 96.05 kB / 0.7548 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.5917, allocations: 31.55 kB / 0.7548 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5918, allocations: 4 kB / 0.7548 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.592, allocations: 322.8 kB / 0.7551 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.5922, allocations: 51.98 kB / 0.7552 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.5925, allocations: 51.97 kB / 0.7552 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.5928, allocations: 52.09 kB / 0.7553 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5928, allocations: 4 kB / 0.7553 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007371/0.5935, allocations: 165.6 kB / 0.7554 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.5937, allocations: 71.39 kB / 0.7555 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5937, allocations: 0 / 0.7555 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5937, allocations: 0 / 0.7555 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.5941, allocations: 27.97 kB / 0.7555 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5941, allocations: 0 / 0.7555 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.5946, allocations: 39.81 kB / 0.7556 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.5947, allocations: 7.984 kB / 0.7556 GB, free: 6.992 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000237/0.595, allocations: 146.8 kB / 0.7557 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006918/0.5957, allocations: 173.4 kB / 0.7559 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.5957, allocations: 11.91 kB / 0.7559 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.5958, allocations: 12.61 kB / 0.7559 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5958, allocations: 4 kB / 0.7559 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5959, allocations: 4 kB / 0.7559 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5959, allocations: 0 / 0.7559 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.5962, allocations: 182.1 kB / 0.7561 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5962, allocations: 0 / 0.7561 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.5965, allocations: 23.97 kB / 0.7561 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.5966, allocations: 3.953 kB / 0.7561 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.5966, allocations: 4 kB / 0.7561 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5966, allocations: 0 / 0.7561 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/0.5967, allocations: 7.938 kB / 0.7561 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.5974, allocations: 189.1 kB / 0.7563 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.5975, allocations: 85.02 kB / 0.7564 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.5976, allocations: 7.938 kB / 0.7564 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.598, allocations: 27.97 kB / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.5982, allocations: 27.95 kB / 0.7564 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.5983, allocations: 4 kB / 0.7564 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001254/0.5984, allocations: 109.8 kB / 0.7565 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5984, allocations: 0 / 0.7565 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005037/0.5989, allocations: 24 kB / 0.7566 GB, free: 5.875 MB / 0.6355 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.001109/0.6001, allocations: 0.7417 MB / 0.7573 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006738/0.6008, allocations: 282.8 kB / 0.7576 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6008, allocations: 0 / 0.7576 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.6012, allocations: 167.3 kB / 0.7577 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.6015, allocations: 7.938 kB / 0.7577 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.6026, allocations: 250.1 kB / 0.758 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.6031, allocations: 0.708 MB / 0.7587 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001937/0.6033, allocations: 11.98 kB / 0.7587 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.6035, allocations: 27.42 kB / 0.7587 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.6035, allocations: 0 / 0.7587 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09031/0.6938, allocations: 2.29 MB / 0.7609 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.6942, allocations: 144.3 kB / 0.7611 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/3.676, allocations: 0 / 0.7611 GB, free: 1.098 MB / 0.6355 GB