Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001203/0.001203, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007285/0.0007286, allocations: 20.06 kB / 0.6737 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3357, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001667/0.3375, allocations: 1.239 MB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.3384, allocations: 0.5897 MB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3385, allocations: 7.938 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.773e-05/0.3386, allocations: 3.984 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.3386, allocations: 15.91 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.3389, allocations: 67.8 kB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.339, allocations: 59.91 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3392, allocations: 16.23 kB / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.3393, allocations: 39.83 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.3394, allocations: 43.77 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3394, allocations: 4 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3395, allocations: 39.97 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.3396, allocations: 19.91 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.3397, allocations: 41.64 kB / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3399, allocations: 100 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3399, allocations: 4 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3399, allocations: 0 / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3399, allocations: 0 / 0.7895 GB, free: 9.574 MB / 0.6075 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.0008795/0.3408, allocations: 444.7 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3408, allocations: 12.03 kB / 0.7899 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.3409, allocations: 38.56 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.341, allocations: 7.906 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3412, allocations: 194.8 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3412, allocations: 7.938 kB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.3413, allocations: 8 kB / 0.7901 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.3417, allocations: 109.6 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3417, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3418, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.3418, allocations: 4 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.3422, allocations: 107.9 kB / 0.7903 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.3431, allocations: 364.6 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3435, allocations: 110.5 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3436, allocations: 0 / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000436/0.344, allocations: 123.3 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.344, allocations: 0 / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0009669/0.345, allocations: 318.8 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.345, allocations: 51.41 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3452, allocations: 144.7 kB / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3452, allocations: 33.64 kB / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.3453, allocations: 104 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.3454, allocations: 23.78 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.3454, allocations: 8 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3455, allocations: 318.8 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3458, allocations: 63.95 kB / 0.7919 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3461, allocations: 67.95 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.3463, allocations: 97.7 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3464, allocations: 0 / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004746/0.3468, allocations: 215.2 kB / 0.7923 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.3469, allocations: 49.58 kB / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3469, allocations: 0 / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3469, allocations: 4 kB / 0.7923 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3471, allocations: 19.98 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3471, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3472, allocations: 27.83 kB / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3473, allocations: 7.984 kB / 0.7924 GB, free: 6.285 MB / 0.6075 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 0.0001108/0.3474, allocations: 117.8 kB / 0.7925 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3474, allocations: 7.906 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.3475, allocations: 24.66 kB / 0.7925 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.3475, allocations: 4 kB / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3475, allocations: 0 / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3476, allocations: 0 / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3478, allocations: 197.6 kB / 0.7927 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3478, allocations: 4 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3479, allocations: 23.98 kB / 0.7928 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3479, allocations: 0 / 0.7928 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3479, allocations: 3.938 kB / 0.7928 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3479, allocations: 7.938 kB / 0.7928 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.348, allocations: 0 / 0.7928 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.3484, allocations: 205 kB / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.3484, allocations: 85 kB / 0.7931 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3485, allocations: 7.938 kB / 0.7931 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3486, allocations: 19.98 kB / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.3487, allocations: 19.92 kB / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3487, allocations: 7.938 kB / 0.7931 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.3488, allocations: 109.8 kB / 0.7932 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3488, allocations: 0 / 0.7932 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002572/0.349, allocations: 39.94 kB / 0.7932 GB, free: 5.32 MB / 0.6075 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.0007592/0.3498, allocations: 0.7529 MB / 0.794 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.3503, allocations: 203.3 kB / 0.7942 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3503, allocations: 0 / 0.7942 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.3505, allocations: 71.89 kB / 0.7942 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3507, allocations: 10.92 kB / 0.7943 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3522, allocations: 0.8143 MB / 0.7951 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3524, allocations: 0.7043 MB / 0.7957 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.917e-05/0.3525, allocations: 15.77 kB / 0.7958 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.3526, allocations: 31.42 kB / 0.7958 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3526, allocations: 0 / 0.7958 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06508/0.4176, allocations: 2.392 MB / 0.7981 GB, free: 352 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/0.418, allocations: 184.1 kB / 0.7983 GB, free: 104 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.168, allocations: 4 kB / 0.7983 GB, free: 100 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) Environment - environmentSimulation: