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.228/1.228, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008758/0.0008758, allocations: 180.1 kB / 325.8 MB, free: 2.668 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.263/1.263, allocations: 205 MB / 0.576 GB, free: 20.97 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.000649/0.0006491, allocations: 89.23 kB / 0.6797 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 11.88 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001256/0.1364, allocations: 1.289 MB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.1372, allocations: 0.6481 MB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.1372, allocations: 4 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.288e-05/0.1373, allocations: 11.92 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.1373, allocations: 11.88 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1376, allocations: 67.86 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.1377, allocations: 91.64 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.1377, allocations: 16.22 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-05/0.1378, allocations: 47.89 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.1379, allocations: 31.84 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1379, allocations: 4 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.138, allocations: 63.89 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.138, allocations: 19.91 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1381, allocations: 35.73 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1382, allocations: 123.7 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1383, allocations: 3.938 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1383, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1383, allocations: 0 / 0.8986 GB, free: 65.55 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.0005484/0.1388, allocations: 444.9 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.1389, allocations: 12.03 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.1389, allocations: 42.67 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1389, allocations: 12.75 kB / 0.8991 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.139, allocations: 197.4 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1391, allocations: 4.375 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1391, allocations: 4.375 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1393, allocations: 113.8 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.1393, allocations: 7.922 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1394, allocations: 4 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.1394, allocations: 11.98 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.1397, allocations: 107.9 kB / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1401, allocations: 360.6 kB / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1404, allocations: 110.5 kB / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1406, allocations: 68.88 kB / 0.9 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1406, allocations: 4 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.1408, allocations: 123.4 kB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.1408, allocations: 112 / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005194/0.1414, allocations: 241.3 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.1414, allocations: 55.41 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.1415, allocations: 136.1 kB / 0.9006 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1415, allocations: 29.7 kB / 0.9006 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.1415, allocations: 108 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.1415, allocations: 23.66 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.1416, allocations: 13.7 kB / 0.9007 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.1416, allocations: 326.8 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1418, allocations: 63.95 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1419, allocations: 79.83 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1422, allocations: 162.5 kB / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1422, allocations: 0 / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003605/0.1426, allocations: 223.1 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1426, allocations: 33.7 kB / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1426, allocations: 0 / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.1427, allocations: 0 / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1428, allocations: 35.84 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1428, allocations: 0 / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1429, allocations: 19.98 kB / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1429, allocations: 8.406 kB / 0.9016 GB, free: 62.18 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 (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 5.542e-05/0.143, allocations: 121.8 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.143, allocations: 7.906 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.143, allocations: 20.66 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.1431, allocations: 4 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1431, allocations: 0 / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1431, allocations: 0 / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1432, allocations: 201.5 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1432, allocations: 0 / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1433, allocations: 27.97 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1433, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1433, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1433, allocations: 4 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1433, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.1437, allocations: 208.8 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.1437, allocations: 88.95 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1437, allocations: 0 / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1439, allocations: 23.97 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1439, allocations: 11.98 kB / 0.9023 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1439, allocations: 4 kB / 0.9023 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.144, allocations: 116.7 kB / 0.9024 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 0.9024 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001918/0.1442, allocations: 36 kB / 0.9025 GB, free: 61.22 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 (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.0005281/0.1447, allocations: 0.7529 MB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.1451, allocations: 207.2 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1451, allocations: 192 / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.1453, allocations: 83.88 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1454, allocations: 19.86 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1471, allocations: 1.764 MB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.768e-05/0.1472, allocations: 0.7004 MB / 0.9059 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.342e-05/0.1472, allocations: 19.97 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.1473, allocations: 27.42 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.1473, allocations: 3.938 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2985/0.4458, allocations: 2.418 MB / 0.9083 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.446, allocations: 208.6 kB / 0.9085 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.07, allocations: 3.938 kB / 0.9085 GB, free: 54.97 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)