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: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001082/0.001082, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.339/1.339, allocations: 205.1 MB / 222 MB, free: 4.77 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.659/1.659, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001291/0.001291, allocations: 61.61 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2088, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002566/0.2114, allocations: 1.624 MB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.2124, allocations: 0.6283 MB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.2125, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.804e-05/0.2126, allocations: 3.938 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.2127, allocations: 23.73 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.213, allocations: 67.92 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.2131, allocations: 87.64 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.2132, allocations: 28.2 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2133, allocations: 43.78 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.2134, allocations: 39.83 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2134, allocations: 8 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.2135, allocations: 59.89 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.2136, allocations: 23.91 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.2136, allocations: 31.8 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2138, allocations: 139.8 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2138, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2138, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2138, allocations: 4 kB / 0.7854 GB, free: 11.18 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.0007436/0.2146, allocations: 452.7 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2146, allocations: 8.031 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.2147, allocations: 16.83 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2148, allocations: 184.2 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2149, allocations: 8.312 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2149, allocations: 8.312 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2152, allocations: 105.9 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2152, allocations: 0 / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2152, allocations: 0 / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2152, allocations: 4 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.2156, allocations: 95.91 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.2162, allocations: 352.6 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.2165, allocations: 94.5 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.2167, allocations: 60.88 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2167, allocations: 0 / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.2171, allocations: 115.3 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2171, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006477/0.2177, allocations: 205.4 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2178, allocations: 59.33 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2179, allocations: 144.7 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2179, allocations: 33.7 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.218, allocations: 100.1 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.218, allocations: 27.69 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.2181, allocations: 25.7 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.2182, allocations: 326.8 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2184, allocations: 55.95 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2185, allocations: 59.95 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.2189, allocations: 142.6 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2189, allocations: 3.938 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004471/0.2194, allocations: 203.1 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.2194, allocations: 33.7 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2194, allocations: 0 / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2194, allocations: 0 / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2196, allocations: 23.97 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2196, allocations: 0 / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2197, allocations: 15.92 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2198, allocations: 4 kB / 0.7882 GB, free: 8.023 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.853e-05/0.2199, allocations: 129.8 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2199, allocations: 11.81 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.2199, allocations: 12.72 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.2199, allocations: 7.938 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.22, allocations: 3.984 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.22, allocations: 0 / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.2201, allocations: 201.5 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2201, allocations: 0 / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.2203, allocations: 19.97 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2203, allocations: 0 / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2203, allocations: 8 kB / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2203, allocations: 0 / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2203, allocations: 0 / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.2207, allocations: 185.2 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.2208, allocations: 88.95 kB / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2208, allocations: 4 kB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2209, allocations: 19.97 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.221, allocations: 15.97 kB / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.221, allocations: 0 / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.2211, allocations: 113.6 kB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2211, allocations: 4 kB / 0.789 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002343/0.2213, allocations: 43.88 kB / 0.7891 GB, free: 7.074 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.0001496/0.2215, allocations: 119.2 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.2219, allocations: 183.2 kB / 0.7893 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.222, allocations: 0 / 0.7893 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.2222, allocations: 63.95 kB / 0.7894 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.2224, allocations: 15.98 kB / 0.7894 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.2229, allocations: 249.3 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2231, allocations: 0.7043 MB / 0.7904 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.4e-05/0.2232, allocations: 15.77 kB / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.2233, allocations: 11.44 kB / 0.7904 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2233, allocations: 0 / 0.7904 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.003415/0.2267, allocations: 1.281 MB / 0.7916 GB, free: 4.387 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)