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.001165/0.001165, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 187.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.66/1.66, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001578/0.001578, allocations: 75.59 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2072, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002631/0.2099, allocations: 1.558 MB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.2109, allocations: 0.6213 MB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.2109, allocations: 3.938 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.684e-05/0.211, allocations: 7.875 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.2111, allocations: 19.8 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.2114, allocations: 95.77 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.2116, allocations: 91.7 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2117, allocations: 24.2 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2118, allocations: 43.84 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.2119, allocations: 43.83 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2119, allocations: 15.88 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.2121, allocations: 87.91 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.2121, allocations: 19.91 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.2122, allocations: 43.73 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2124, allocations: 139.8 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2124, allocations: 4 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2124, allocations: 3.984 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2124, allocations: 0 / 0.7864 GB, free: 10.44 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.0007439/0.2131, allocations: 448.7 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2132, allocations: 8.031 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.2132, allocations: 42.73 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.2133, allocations: 12.84 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.2134, allocations: 188.2 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2134, allocations: 4.375 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2135, allocations: 12.31 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.2137, allocations: 97.75 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2138, allocations: 0 / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2138, allocations: 7.984 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.2138, allocations: 4 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.2141, allocations: 87.92 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.2147, allocations: 352.6 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.215, allocations: 94.62 kB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.2153, allocations: 60.81 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2153, allocations: 4 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.2156, allocations: 115.3 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.2156, allocations: 0 / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006256/0.2163, allocations: 205.5 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2163, allocations: 55.62 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2164, allocations: 143.9 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2164, allocations: 37.7 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.2165, allocations: 104 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2165, allocations: 31.67 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.2166, allocations: 21.72 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2167, allocations: 322.8 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2169, allocations: 55.95 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2171, allocations: 67.95 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.2175, allocations: 138.5 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2175, allocations: 0 / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000449/0.2179, allocations: 203.1 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.218, allocations: 37.7 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.218, allocations: 3.984 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.218, allocations: 0 / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2181, allocations: 15.98 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2182, allocations: 0 / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2183, allocations: 23.83 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2183, allocations: 11.92 kB / 0.7893 GB, free: 7.223 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 (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 8.825e-05/0.2184, allocations: 121.8 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.2184, allocations: 11.91 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.2185, allocations: 16.7 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.2185, allocations: 4 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2185, allocations: 3.938 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2185, allocations: 0 / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2187, allocations: 201.5 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2187, allocations: 4 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.2188, allocations: 11.98 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2188, allocations: 0 / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2188, allocations: 8 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2189, allocations: 0 / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2189, allocations: 3.984 kB / 0.7896 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.2193, allocations: 176.8 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.2193, allocations: 89.19 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.2194, allocations: 4 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2195, allocations: 19.92 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.2196, allocations: 15.98 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.2196, allocations: 3.984 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.2197, allocations: 111.2 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2197, allocations: 0 / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002419/0.22, allocations: 39.94 kB / 0.7901 GB, free: 6.293 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 (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.0007024/0.2207, allocations: 0.7371 MB / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.2211, allocations: 187.2 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2211, allocations: 0 / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2213, allocations: 63.94 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.2216, allocations: 11.94 kB / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.2237, allocations: 1.712 MB / 0.7927 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.224, allocations: 0.6987 MB / 0.7934 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.107e-05/0.224, allocations: 15.98 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.2241, allocations: 27.42 kB / 0.7934 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2241, allocations: 0 / 0.7934 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.2416, allocations: 2.738 MB / 0.7961 GB, free: 40 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.35/9.591, allocations: 10 kB / 0.7961 GB, free: 36 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/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)